home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-05-29 | 88.5 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Bicycle Gear Calculator 4.0
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Banyans VINES patch data (other/banyansVINESPatchData)
| ext
| Unsupported |
1%
| dexvert
| PCP archive log (other/pcpArchiveLog)
| ext
| Unsupported |
100%
| file
| MacBinary II, inited, Fri Mar 27 11:40:24 1992, modified Fri May 29 12:50:36 1992, creator HyperCard, type HyperCard stack, 73728 bytes "Bicycle Gear Calculator 4.0" , at 0x12080 16735 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1b 42 69 63 79 63 6c | 65 20 47 65 61 72 20 43 |..Bicycl|e Gear C|
|00000010| 61 6c 63 75 6c 61 74 6f | 72 20 34 2e 30 00 00 00 |alculato|r 4.0...|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 20 00 00 | 00 41 5f a5 f9 00 78 a6 |..... ..|.A_...x.|
|00000060| 4c 11 5c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |L.\.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 79 6e 00 00 |........|....yn..|
|00000080| 00 00 10 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |....STAK|........|
|00000090| 00 00 00 0a 00 01 20 00 | 00 00 10 00 00 00 00 00 |...... .|........|
|000000a0| 00 00 00 00 00 00 00 04 | 00 00 0c 39 00 00 00 0d |........|...9....|
|000000b0| 00 00 1d 51 00 00 08 cb | 00 00 00 03 00 00 2a 80 |...Q....|......*.|
|000000c0| 00 00 1f e1 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| e1 eb 33 0f 00 00 00 01 | 00 2a 00 00 01 80 02 00 |..3.....|.*......|
|00000100| 00 00 00 00 01 80 02 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 11 ed 00 00 10 bf | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 b7 80 00 00 06 80 | 00 00 de 40 00 00 0b 40 |........|...@...@|
|00000490| 00 01 07 20 00 00 18 c0 | 00 00 00 00 00 00 00 00 |... ....|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 73 74 61 72 74 | 55 70 0d 67 6c 6f 62 61 |on start|Up.globa|
|00000690| 6c 20 6c 6e 5f 31 30 0d | 0d 2d 2d 20 69 6e 69 74 |l ln_10.|.-- init|
|000006a0| 69 61 6c 69 73 65 20 22 | 63 6f 6e 73 74 61 6e 74 |ialise "|constant|
|000006b0| 73 22 0d 70 75 74 20 6c | 6e 28 31 30 29 20 69 6e |s".put l|n(10) in|
|000006c0| 74 6f 20 6c 6e 5f 31 30 | 0d 0d 69 66 20 74 68 65 |to ln_10|..if the|
|000006d0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6d 61 72 6b 65 | number |of marke|
|000006e0| 64 20 63 61 72 64 73 20 | 3e 3d 20 31 20 74 68 65 |d cards |>= 1 the|
|000006f0| 6e 0d 67 6f 20 74 6f 20 | 74 68 65 20 66 69 72 73 |n.go to |the firs|
|00000700| 74 20 6d 61 72 6b 65 64 | 20 63 61 72 64 0d 65 6c |t marked| card.el|
|00000710| 73 65 0d 67 6f 20 74 6f | 20 63 61 72 64 20 22 49 |se.go to| card "I|
|00000720| 6e 66 6f 22 0d 65 6e 64 | 20 69 66 0d 70 61 73 73 |nfo".end| if.pass|
|00000730| 20 73 74 61 72 74 55 70 | 20 2d 2d 20 66 6f 72 20 | startUp| -- for |
|00000740| 74 68 65 20 68 6f 6d 65 | 20 73 74 61 63 6b 20 28 |the home| stack (|
|00000750| 59 6f 75 20 4d 55 53 54 | 20 64 6f 20 74 68 69 73 |You MUST| do this|
|00000760| 29 2e 0d 65 6e 64 20 73 | 74 61 72 74 55 70 0d 0d |)..end s|tartUp..|
|00000770| 6f 6e 20 4d 65 6e 75 48 | 69 64 65 0d 67 6c 6f 62 |on MenuH|ide.glob|
|00000780| 61 6c 20 68 69 64 65 4d | 65 6e 75 73 0d 69 66 20 |al hideM|enus.if |
|00000790| 68 69 64 65 4d 65 6e 75 | 73 20 74 68 65 6e 20 68 |hideMenu|s then h|
|000007a0| 69 64 65 20 6d 65 6e 75 | 62 61 72 20 65 6c 73 65 |ide menu|bar else|
|000007b0| 20 73 68 6f 77 20 6d 65 | 6e 75 62 61 72 0d 65 6e | show me|nubar.en|
|000007c0| 64 20 4d 65 6e 75 48 69 | 64 65 0d 0d 6f 6e 20 6f |d MenuHi|de..on o|
|000007d0| 70 65 6e 53 74 61 63 6b | 0d 67 6c 6f 62 61 6c 20 |penStack|.global |
|000007e0| 6c 65 76 65 6c 68 6f 6c | 64 0d 70 75 74 20 74 68 |levelhol|d.put th|
|000007f0| 65 20 75 73 65 72 4c 65 | 76 65 6c 20 69 6e 74 6f |e userLe|vel into|
|00000800| 20 6c 65 76 65 6c 68 6f | 6c 64 0d 73 65 74 20 74 | levelho|ld.set t|
|00000810| 68 65 20 75 73 65 72 4c | 65 76 65 6c 20 74 6f 20 |he userL|evel to |
|00000820| 32 0d 2d 2d 20 70 69 63 | 6b 20 75 70 20 63 6f 6e |2.-- pic|k up con|
|00000830| 74 72 6f 6c 20 73 65 74 | 74 69 6e 67 73 0d 73 65 |trol set|tings.se|
|00000840| 6e 64 20 73 65 74 43 6f | 6e 74 72 6f 6c 73 20 74 |nd setCo|ntrols t|
|00000850| 6f 20 63 61 72 64 20 22 | 43 6f 6e 74 72 6f 6c 22 |o card "|Control"|
|00000860| 0d 65 6e 64 20 6f 70 65 | 6e 53 74 61 63 6b 0d 0d |.end ope|nStack..|
|00000870| 6f 6e 20 63 6c 6f 73 65 | 53 74 61 63 6b 0d 67 6c |on close|Stack.gl|
|00000880| 6f 62 61 6c 20 6c 65 76 | 65 6c 68 6f 6c 64 0d 73 |obal lev|elhold.s|
|00000890| 65 74 20 74 68 65 20 75 | 73 65 72 4c 65 76 65 6c |et the u|serLevel|
|000008a0| 20 74 6f 20 6c 65 76 65 | 6c 68 6f 6c 64 0d 73 68 | to leve|lhold.sh|
|000008b0| 6f 77 20 6d 65 6e 75 62 | 61 72 0d 63 48 43 63 6c |ow menub|ar.cHCcl|
|000008c0| 6f 73 65 0d 65 6e 64 20 | 63 6c 6f 73 65 53 74 61 |ose.end |closeSta|
|000008d0| 63 6b 0d 0d 6f 6e 20 72 | 65 73 75 6d 65 53 74 61 |ck..on r|esumeSta|
|000008e0| 63 6b 0d 67 6c 6f 62 61 | 6c 20 75 73 65 43 6f 6c |ck.globa|l useCol|
|000008f0| 6f 75 72 0d 4d 65 6e 75 | 48 69 64 65 0d 63 48 43 |our.Menu|Hide.cHC|
|00000900| 72 65 73 74 61 72 74 20 | 75 73 65 43 6f 6c 6f 75 |restart |useColou|
|00000910| 72 0d 65 6e 64 20 72 65 | 73 75 6d 65 53 74 61 63 |r.end re|sumeStac|
|00000920| 6b 0d 0d 6f 6e 20 73 75 | 73 70 65 6e 64 53 74 61 |k..on su|spendSta|
|00000930| 63 6b 0d 63 48 43 6c 65 | 61 76 65 0d 65 6e 64 20 |ck.cHCle|ave.end |
|00000940| 73 75 73 70 65 6e 64 53 | 74 61 63 6b 0d 0d 6f 6e |suspendS|tack..on|
|00000950| 20 72 65 73 75 6d 65 0d | 72 65 73 75 6d 65 53 74 | resume.|resumeSt|
|00000960| 61 63 6b 0d 65 6e 64 20 | 72 65 73 75 6d 65 0d 0d |ack.end |resume..|
|00000970| 6f 6e 20 73 75 73 70 65 | 6e 64 0d 63 48 43 6c 65 |on suspe|nd.cHCle|
|00000980| 61 76 65 0d 65 6e 64 20 | 73 75 73 70 65 6e 64 0d |ave.end |suspend.|
|00000990| 0d 66 75 6e 63 74 69 6f | 6e 20 6c 6f 63 61 74 65 |.functio|n locate|
|000009a0| 49 6e 20 76 61 6c 75 65 | 73 2c 20 76 61 6c 75 65 |In value|s, value|
|000009b0| 0d 2d 2d 20 74 68 65 72 | 65 20 6d 61 79 20 77 65 |.-- ther|e may we|
|000009c0| 6c 6c 20 62 65 20 61 20 | 62 75 69 6c 74 20 69 6e |ll be a |built in|
|000009d0| 20 77 61 79 20 74 6f 20 | 64 6f 20 74 68 69 73 2c | way to |do this,|
|000009e0| 20 62 75 74 20 49 20 68 | 61 76 6e 27 74 20 67 6f | but I h|avn't go|
|000009f0| 74 20 74 68 65 0d 2d 2d | 20 72 65 66 20 74 6f 20 |t the.--| ref to |
|00000a00| 68 61 6e 64 0d 72 65 70 | 65 61 74 20 77 69 74 68 |hand.rep|eat with|
|00000a10| 20 69 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | i = 1 t|o the nu|
|00000a20| 6d 62 65 72 20 6f 66 20 | 69 74 65 6d 73 20 69 6e |mber of |items in|
|00000a30| 20 76 61 6c 75 65 73 0d | 69 66 20 69 74 65 6d 20 | values.|if item |
|00000a40| 69 20 6f 66 20 76 61 6c | 75 65 73 20 69 73 20 76 |i of val|ues is v|
|00000a50| 61 6c 75 65 20 74 68 65 | 6e 20 72 65 74 75 72 6e |alue the|n return|
|00000a60| 20 69 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 | i.end r|epeat.re|
|00000a70| 74 75 72 6e 20 30 0d 65 | 6e 64 20 6c 6f 63 61 74 |turn 0.e|nd locat|
|00000a80| 65 49 6e 0d 0d 66 75 6e | 63 74 69 6f 6e 20 6f 70 |eIn..fun|ction op|
|00000a90| 74 54 72 75 65 20 76 61 | 6c 0d 69 66 20 76 61 6c |tTrue va|l.if val|
|00000aa0| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 72 | is empt|y then r|
|00000ab0| 65 74 75 72 6e 20 54 72 | 75 65 0d 65 6c 73 65 20 |eturn Tr|ue.else |
|00000ac0| 72 65 74 75 72 6e 20 76 | 61 6c 0d 65 6e 64 20 6f |return v|al.end o|
|00000ad0| 70 74 54 72 75 65 0d 0d | 66 75 6e 63 74 69 6f 6e |ptTrue..|function|
|00000ae0| 20 6f 70 74 46 61 6c 73 | 65 20 76 61 6c 0d 69 66 | optFals|e val.if|
|00000af0| 20 76 61 6c 20 69 73 20 | 65 6d 70 74 79 20 74 68 | val is |empty th|
|00000b00| 65 6e 20 72 65 74 75 72 | 6e 20 46 61 6c 73 65 0d |en retur|n False.|
|00000b10| 65 6c 73 65 20 72 65 74 | 75 72 6e 20 76 61 6c 0d |else ret|urn val.|
|00000b20| 65 6e 64 20 6f 70 74 46 | 61 6c 73 65 0d 0d 2d 2d |end optF|alse..--|
|00000b30| 20 64 65 66 61 75 6c 74 | 20 61 63 74 69 6f 6e 73 | default| actions|
|00000b40| 0d 0d 6f 6e 20 6f 70 65 | 6e 42 61 63 6b 67 72 6f |..on ope|nBackgro|
|00000b50| 75 6e 64 0d 63 48 43 63 | 6f 6c 6f 72 69 7a 65 0d |und.cHCc|olorize.|
|00000b60| 65 6e 64 20 6f 70 65 6e | 42 61 63 6b 67 72 6f 75 |end open|Backgrou|
|00000b70| 6e 64 0d 0d 6f 6e 20 63 | 6c 6f 73 65 42 61 63 6b |nd..on c|loseBack|
|00000b80| 67 72 6f 75 6e 64 0d 63 | 48 43 75 6e 43 6f 6c 6f |ground.c|HCunColo|
|00000b90| 72 69 7a 65 0d 65 6e 64 | 20 63 6c 6f 73 65 42 61 |rize.end| closeBa|
|00000ba0| 63 6b 67 72 6f 75 6e 64 | 0d 0d 2d 2d 20 74 68 65 |ckground|..-- the|
|00000bb0| 73 65 20 61 72 65 20 68 | 65 72 65 20 74 6f 20 73 |se are h|ere to s|
|00000bc0| 74 6f 70 20 70 72 6f 62 | 6c 65 6d 73 20 77 68 65 |top prob|lems whe|
|00000bd0| 6e 20 73 74 61 63 6b 20 | 43 6f 6c 6f 72 69 7a 65 |n stack |Colorize|
|00000be0| 20 48 43 20 58 43 4d 44 | 20 69 73 20 6e 6f 74 20 | HC XCMD| is not |
|00000bf0| 74 68 65 72 65 0d 0d 6f | 6e 20 63 48 43 73 65 74 |there..o|n cHCset|
|00000c00| 55 70 0d 67 6c 6f 62 61 | 6c 20 75 73 65 43 6f 6c |Up.globa|l useCol|
|00000c10| 6f 72 69 7a 65 0d 69 66 | 20 75 73 65 43 6f 6c 6f |orize.if| useColo|
|00000c20| 72 69 7a 65 20 74 68 65 | 6e 20 70 61 73 73 20 63 |rize the|n pass c|
|00000c30| 48 43 73 65 74 55 70 0d | 65 6e 64 20 63 48 43 73 |HCsetUp.|end cHCs|
|00000c40| 65 74 55 70 0d 0d 6f 6e | 20 63 48 43 73 74 61 72 |etUp..on| cHCstar|
|00000c50| 74 0d 67 6c 6f 62 61 6c | 20 75 73 65 43 6f 6c 6f |t.global| useColo|
|00000c60| 72 69 7a 65 0d 69 66 20 | 75 73 65 43 6f 6c 6f 72 |rize.if |useColor|
|00000c70| 69 7a 65 20 74 68 65 6e | 20 70 61 73 73 20 63 48 |ize then| pass cH|
|00000c80| 43 73 74 61 72 74 0d 65 | 6e 64 20 63 48 43 73 74 |Cstart.e|nd cHCst|
|00000c90| 61 72 74 0d 0d 6f 6e 20 | 63 48 43 63 6c 6f 73 65 |art..on |cHCclose|
|00000ca0| 0d 67 6c 6f 62 61 6c 20 | 75 73 65 43 6f 6c 6f 72 |.global |useColor|
|00000cb0| 69 7a 65 0d 69 66 20 75 | 73 65 43 6f 6c 6f 72 69 |ize.if u|seColori|
|00000cc0| 7a 65 20 74 68 65 6e 20 | 70 61 73 73 20 63 48 43 |ze then |pass cHC|
|00000cd0| 63 6c 6f 73 65 0d 65 6e | 64 20 63 48 43 63 6c 6f |close.en|d cHCclo|
|00000ce0| 73 65 0d 0d 6f 6e 20 63 | 48 43 72 65 73 74 61 72 |se..on c|HCrestar|
|00000cf0| 74 0d 67 6c 6f 62 61 6c | 20 75 73 65 43 6f 6c 6f |t.global| useColo|
|00000d00| 72 69 7a 65 0d 69 66 20 | 75 73 65 43 6f 6c 6f 72 |rize.if |useColor|
|00000d10| 69 7a 65 20 74 68 65 6e | 20 70 61 73 73 20 63 48 |ize then| pass cH|
|00000d20| 43 72 65 73 74 61 72 74 | 0d 65 6e 64 20 63 48 43 |Crestart|.end cHC|
|00000d30| 72 65 73 74 61 72 74 0d | 0d 6f 6e 20 63 48 43 6c |restart.|.on cHCl|
|00000d40| 65 61 76 65 0d 67 6c 6f | 62 61 6c 20 75 73 65 43 |eave.glo|bal useC|
|00000d50| 6f 6c 6f 72 69 7a 65 0d | 69 66 20 75 73 65 43 6f |olorize.|if useCo|
|00000d60| 6c 6f 72 69 7a 65 20 74 | 68 65 6e 20 70 61 73 73 |lorize t|hen pass|
|00000d70| 20 63 48 43 6c 65 61 76 | 65 0d 65 6e 64 20 63 48 | cHCleav|e.end cH|
|00000d80| 43 6c 65 61 76 65 0d 0d | 6f 6e 20 63 48 43 63 6f |Cleave..|on cHCco|
|00000d90| 6c 6f 72 69 7a 65 0d 67 | 6c 6f 62 61 6c 20 75 73 |lorize.g|lobal us|
|00000da0| 65 43 6f 6c 6f 72 69 7a | 65 0d 69 66 20 75 73 65 |eColoriz|e.if use|
|00000db0| 43 6f 6c 6f 72 69 7a 65 | 20 74 68 65 6e 20 70 61 |Colorize| then pa|
|00000dc0| 73 73 20 63 48 43 63 6f | 6c 6f 72 69 7a 65 0d 65 |ss cHCco|lorize.e|
|00000dd0| 6e 64 20 63 48 43 63 6f | 6c 6f 72 69 7a 65 0d 0d |nd cHCco|lorize..|
|00000de0| 6f 6e 20 63 48 43 75 6e | 43 6f 6c 6f 72 69 7a 65 |on cHCun|Colorize|
|00000df0| 0d 67 6c 6f 62 61 6c 20 | 75 73 65 43 6f 6c 6f 72 |.global |useColor|
|00000e00| 69 7a 65 0d 69 66 20 75 | 73 65 43 6f 6c 6f 72 69 |ize.if u|seColori|
|00000e10| 7a 65 20 74 68 65 6e 20 | 70 61 73 73 20 63 48 43 |ze then |pass cHC|
|00000e20| 75 6e 43 6f 6c 6f 72 69 | 7a 65 0d 65 6e 64 20 63 |unColori|ze.end c|
|00000e30| 48 43 75 6e 43 6f 6c 6f | 72 69 7a 65 0d 0d 6f 6e |HCunColo|rize..on|
|00000e40| 20 63 48 43 73 68 6f 77 | 43 6f 6c 6f 72 0d 67 6c | cHCshow|Color.gl|
|00000e50| 6f 62 61 6c 20 75 73 65 | 43 6f 6c 6f 72 69 7a 65 |obal use|Colorize|
|00000e60| 0d 69 66 20 75 73 65 43 | 6f 6c 6f 72 69 7a 65 20 |.if useC|olorize |
|00000e70| 74 68 65 6e 20 70 61 73 | 73 20 63 48 43 73 68 6f |then pas|s cHCsho|
|00000e80| 77 43 6f 6c 6f 72 0d 65 | 6e 64 20 63 48 43 73 68 |wColor.e|nd cHCsh|
|00000e90| 6f 77 43 6f 6c 6f 72 0d | 0d 6f 6e 20 63 48 43 66 |owColor.|.on cHCf|
|00000ea0| 6f 72 63 65 53 63 72 65 | 65 6e 4c 6f 63 6b 0d 67 |orceScre|enLock.g|
|00000eb0| 6c 6f 62 61 6c 20 75 73 | 65 43 6f 6c 6f 72 69 7a |lobal us|eColoriz|
|00000ec0| 65 0d 69 66 20 75 73 65 | 43 6f 6c 6f 72 69 7a 65 |e.if use|Colorize|
|00000ed0| 20 74 68 65 6e 20 70 61 | 73 73 20 63 48 43 66 6f | then pa|ss cHCfo|
|00000ee0| 72 63 65 53 63 72 65 65 | 6e 4c 6f 63 6b 0d 65 6e |rceScree|nLock.en|
|00000ef0| 64 20 63 48 43 66 6f 72 | 63 65 53 63 72 65 65 6e |d cHCfor|ceScreen|
|00000f00| 4c 6f 63 6b 0d 00 00 00 | 00 00 00 00 00 00 00 00 |Lock....|........|
|00000f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 00 90 cb 00 07 65 4e | 00 03 36 66 00 04 62 bd |......eN|..6f..b.|
|000010b0| 00 00 d4 39 00 03 0d 77 | 00 00 94 e1 00 00 00 00 |...9...w|........|
|000010c0| 00 07 4c bf 00 07 53 ed | 00 00 00 00 00 00 00 00 |..L...S.|........|
|000010d0| 00 04 cb 82 00 06 bc 08 | 00 04 7f 7f 00 05 0d a0 |........|........|
|000010e0| 00 05 31 df 00 05 77 b7 | 00 05 99 bc 00 00 00 00 |..1...w.|........|
|000010f0| 00 00 00 00 00 03 67 51 | 00 03 eb 10 00 07 55 e1 |......gQ|......U.|
|00001100| 00 07 60 57 00 03 64 15 | 00 07 72 50 00 03 5e 89 |..`W..d.|..rP..^.|
|00001110| 00 04 02 32 00 04 40 dd | 00 05 f0 4c 00 06 8c ae |...2..@.|...L....|
|00001120| 00 03 5c 15 00 00 00 00 | 00 00 00 00 00 00 00 00 |..\.....|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000011f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001280| 00 00 00 80 4c 49 53 54 | 00 00 08 cb 00 00 00 00 |....LIST|........|
|00001290| 00 00 00 01 00 00 08 00 | 00 00 00 0d 00 84 00 02 |........|........|
|000012a0| 00 20 00 03 20 00 01 e9 | 00 00 00 0d 00 00 00 00 |. .. ...|........|
|000012b0| 00 00 0e e1 00 0d 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 00 08 00 50 41 47 45 | 00 00 0e e1 00 00 00 00 |....PAGE|........|
|00001310| 00 00 08 cb ad 47 4f 95 | 00 00 1d 51 f0 05 00 00 |.....GO.|...Q....|
|00001320| 00 00 40 20 20 28 04 00 | 14 00 12 20 40 01 00 28 |..@ (..|... @..(|
|00001330| 00 0c 0d 08 10 60 00 00 | a8 41 01 8a 10 00 00 00 |.....`..|.A......|
|00001340| 20 00 00 04 2d 00 14 0c | 42 80 40 24 00 00 40 00 | ...-...|B.@$..@.|
|00001350| 00 00 08 80 a0 26 00 00 | 28 0a 10 00 10 00 88 04 |.....&..|(.......|
|00001360| 21 04 00 10 08 01 14 c0 | 30 80 00 00 30 00 42 38 |!.......|0...0.B8|
|00001370| 80 80 00 04 02 00 00 10 | 88 08 00 00 00 04 52 01 |........|......R.|
|00001380| 20 80 20 00 01 41 40 00 | 00 60 29 50 28 00 00 20 | . ..A@.|.`)P(.. |
|00001390| 00 00 00 00 00 10 00 08 | 40 01 02 00 00 00 24 32 |........|@.....$2|
|000013a0| e0 01 01 80 01 08 08 01 | 10 32 00 10 a0 00 35 00 |........|.2....5.|
|000013b0| 40 00 84 02 4a 08 09 03 | 18 00 09 00 78 0b 01 04 |@...J...|....x...|
|000013c0| 02 a4 00 00 00 04 00 81 | 22 80 50 84 40 80 01 13 |........|".P.@...|
|000013d0| 04 49 44 02 06 22 08 80 | 28 02 08 08 88 13 10 00 |.ID.."..|(.......|
|000013e0| 82 00 29 01 b9 8a 04 03 | 20 08 c1 00 89 20 00 01 |..).....| .... ..|
|000013f0| 8a 94 10 10 a4 94 04 80 | 02 10 00 00 30 00 00 00 |........|....0...|
|00001400| 01 10 41 12 60 24 44 20 | 81 40 c2 96 00 21 68 d1 |..A.`$D |.@...!h.|
|00001410| 45 01 00 16 10 80 23 18 | 44 20 00 00 18 10 50 00 |E.....#.|D ....P.|
|00001420| 00 00 0b bd 60 04 00 11 | 08 06 09 41 11 9a 13 91 |....`...|...A....|
|00001430| 6a 48 22 00 89 20 89 12 | 8b 18 1d 8a d8 60 09 cc |jH".. ..|.....`..|
|00001440| 68 6b 69 86 48 26 02 20 | 24 65 a8 b5 63 82 50 a6 |hki.H&. |$e..c.P.|
|00001450| c6 94 3c 81 40 0a c2 12 | 24 20 19 82 a9 1a 04 08 |..<.@...|$ ......|
|00001460| 2e 56 18 04 92 65 a9 42 | 01 97 c4 06 11 07 81 03 |.V...e.B|........|
|00001470| b1 08 08 1f 28 0c 00 39 | 8c 91 24 cd 07 04 00 04 |....(..9|..$.....|
|00001480| 7f 8c 60 04 28 04 34 93 | e2 24 24 00 05 42 d0 14 |..`.(.4.|.$$..B..|
|00001490| a3 f4 0c 01 2f 48 10 05 | 04 14 44 5a dd 12 14 50 |..../H..|..DZ...P|
|000014a0| 1c 2a 00 40 00 00 16 7f | a0 25 23 83 a0 5d 3b d3 |.*.@....|.%#..];.|
|000014b0| 7b 3a 91 bf df 1a 3a 04 | ca 72 85 6f 5b be 1c b7 |{:....:.|.r.o[...|
|000014c0| b6 71 25 f7 eb 6d 27 9e | fb fe 0e e0 6c 15 ea 3d |.q%..m'.|....l..=|
|000014d0| 6e a4 56 bf ca 8f ee 97 | ca db 56 53 2e 6c fb 98 |n.V.....|..VS.l..|
|000014e0| 2b 3a 88 2d ea 5f de 64 | 80 76 ec 66 f5 9b 94 1a |+:.-._.d|.v.f....|
|000014f0| 7e 93 fd 94 fd c9 a2 1f | 1e 1c b7 3d 80 f7 85 cc |~.......|...=....|
|00001500| cf 5e ea b7 9f fa e3 a2 | a8 36 fb b3 e2 14 cc 5b |.^......|.6.....[|
|00001510| 8d 6b e3 d6 9b 7e cd d6 | 7e 41 f4 43 20 48 72 1a |.k...~..|~A.C Hr.|
|00001520| e1 c2 80 70 3a 36 0e 14 | 00 00 14 82 a0 0f 28 64 |...p:6..|......(d|
|00001530| 4a 7a 7b 6a 4f ba bb bc | 3d 16 3e 2c c2 b6 47 9d |Jz{jO...|=.>,..G.|
|00001540| fa 02 95 8a ea 69 7d 4a | fc 69 25 8e 4e ec f8 c8 |.....i}J|.i%.N...|
|00001550| e4 e4 aa cd 4f a5 59 9f | e8 1e f7 6f cf 3d d6 07 |....O.Y.|...o.=..|
|00001560| 7b ec fe 90 67 b9 28 c6 | 39 d2 dc 67 8e 76 d9 e7 |{...g.(.|9..g.v..|
|00001570| fd bb 84 33 56 61 55 72 | d5 e8 c2 37 1a 48 93 39 |...3VaUr|...7.H.9|
|00001580| 83 dd 0d 5e b7 17 b6 34 | ef ed e9 ae bd b4 b6 37 |...^...4|.......7|
|00001590| ea e7 45 48 15 7b b2 ad | ff 34 ff 56 a2 40 d0 bb |..EH.{..|.4.V.@..|
|000015a0| 24 29 64 5b dc c2 a0 5c | 48 2a 10 00 00 00 17 a0 |$)d[...\|H*......|
|000015b0| 20 30 22 b0 16 20 36 65 | 79 3a 2f 91 31 1c 27 34 | 0".. 6e|y:/.1.'4|
|000015c0| 09 72 35 9f ca 0f 4f 92 | b0 71 01 6b eb cb 43 0f |.r5...O.|.q.k..C.|
|000015d0| 4d 0c 8c c0 44 20 60 c3 | 4e a0 94 ad ca 7f c4 f3 |M...D `.|N.......|
|000015e0| bc 46 ce 1a 2a 07 ac 00 | 7e 31 25 09 4a 1d c4 62 |.F..*...|~1%.J..b|
|000015f0| 13 14 e9 44 4d 90 18 92 | 52 09 05 d2 94 80 30 05 |...DM...|R.....0.|
|00001600| 1a 44 c5 19 e1 b9 25 8e | cf 53 8e 00 c4 cc cb 04 |.D....%.|.S......|
|00001610| a1 a4 7e 27 23 3f 75 2a | 01 9a 80 84 82 75 7e 92 |..~'#?u*|.....u~.|
|00001620| 2c 73 04 35 21 7a 60 5b | 60 f4 a3 68 13 12 03 30 |,s.5!z`[|`..h...0|
|00001630| 00 00 18 df 20 14 0b 1f | 0f 14 63 51 f8 bb 47 9b |.... ...|..cQ..G.|
|00001640| bb 79 5f 24 c1 76 01 2e | d2 b2 5f fa d4 73 24 7b |.y_$.v..|.._..s${|
|00001650| ea 4f 79 9f ec cd 9d 62 | ac 21 a0 c1 6e a4 dc ef |.Oy....b|.!..n...|
|00001660| f6 0e fc a6 e3 2a 5e 32 | 6b 24 e8 9a ef b8 3c c5 |.....*^2|k$....<.|
|00001670| ee 7e ce cc b3 7f fd 56 | e5 f7 70 92 3e ab d7 f3 |.~.....V|..p.>...|
|00001680| fe b8 a9 19 7e 5c 97 3b | e3 9c 09 cf fd 96 e2 1e |....~\.;|........|
|00001690| df da 78 06 b9 3c 7a b4 | 27 7e a4 6b 19 57 85 d7 |..x..<z.|'~.k.W..|
|000016a0| aa 36 6d dc af e2 b5 d3 | b9 1c fb 4a e9 c6 a1 40 |.6m.....|...J...@|
|000016b0| 46 72 07 60 00 00 19 b7 | 20 00 00 24 00 46 13 41 |Fr.`....| ..$.F.A|
|000016c0| 21 38 19 91 6b 40 2a 11 | 81 78 00 08 5d 2a 50 32 |!8..k@*.|.x..]*P2|
|000016d0| 93 71 21 49 ea ef c2 4c | 69 cc 84 02 28 4d 68 0d |.q!I...L|i...(Mh.|
|000016e0| 2e 86 1a df e8 0c 8c c9 | 9c aa 84 03 02 0c 26 18 |........|......&.|
|000016f0| a4 02 00 1e 8a 3e da 40 | c8 15 f1 48 41 9b 14 43 |.....>.@|...HA..C|
|00001700| 0a 59 e5 84 a5 18 83 02 | 80 05 94 ac ac 74 0d 4a |.Y......|.....t.J|
|00001710| 20 02 66 22 1f 98 c0 0e | 84 3c 81 92 66 44 c0 21 | .f"....|.<..fD.!|
|00001720| 25 d3 9b 10 03 1a 58 80 | 24 20 50 c8 01 08 87 52 |%.....X.|$ P....R|
|00001730| 48 87 21 00 d2 20 10 40 | 00 00 1a bc 20 05 01 8c |H.!.. .@|.... ...|
|00001740| 42 05 0a 08 05 38 05 10 | 36 48 1c 20 89 4c 01 0a |B....8..|6H. .L..|
|00001750| 40 08 06 a2 c0 60 0c 08 | 62 6f 6b ca 5b 24 84 10 |@....`..|bok.[$..|
|00001760| 0c 01 e0 10 6e 06 50 0d | 46 0e 28 b7 4a 22 64 00 |....n.P.|F.(.J"d.|
|00001770| 26 60 41 92 2d 30 00 04 | 29 0b e8 48 40 71 a8 46 |&`A.-0..|)..H@q.F|
|00001780| f5 a0 90 5a b2 00 b5 b3 | d0 a9 88 04 40 59 57 39 |...Z....|....@YW9|
|00001790| 10 85 08 c6 80 80 c2 1c | 5a 18 00 06 2d 04 3a ac |........|Z...-.:.|
|000017a0| c6 08 c6 51 80 12 80 92 | a4 04 69 90 48 40 10 4f |...Q....|..i.H@.O|
|000017b0| 21 08 80 00 48 88 20 02 | 5a 14 14 54 00 00 15 08 |!...H. .|Z..T....|
|000017c0| 20 5d 47 17 6e 5a 3c da | e0 3a 95 9f 69 40 01 26 | ]G.nZ<.|.:..i@.&|
|000017d0| ee 70 45 0e 42 6c 49 b6 | f6 f1 05 5a e9 4d 67 1a |.pE.BlI.|...Z.Mg.|
|000017e0| 29 fe 35 98 26 21 dd 3f | ee d8 5f af ca ce 8e 6b |).5.&!.?|.._....k|
|000017f0| ba 41 1e 75 4a c4 c3 d0 | 6f 14 3b 5f a8 5f d7 d8 |.A.uJ...|o.;_._..|
|00001800| 88 76 cd 65 79 12 84 92 | 36 af f7 41 f1 ca 91 56 |.v.ey...|6..A...V|
|00001810| 5a dc c5 f9 ed d7 0d 6c | 67 4c 62 a4 cd fa 72 e4 |Z......l|gLb...r.|
|00001820| a9 a6 af 67 22 c6 c2 7b | 57 dd bf e3 08 21 59 df |...g"..{|W....!Y.|
|00001830| 2c 57 e4 61 11 4d f2 52 | 58 dc 88 00 12 26 4d 08 |,W.a.M.R|X....&M.|
|00001840| 00 00 26 4c 20 2d 47 b5 | 2e 7f fe 5b 7f 3b 9f 9f |..&L -G.|...[.;..|
|00001850| ff 5a 7f 3f e6 f9 ad 4f | 5a 2f ff fa 96 f9 bd ff |.Z.?...O|Z/......|
|00001860| ed ed 66 da fb e7 b5 a8 | fc ee fa df ee ff ff df |..f.....|........|
|00001870| fa 4f f6 53 fd 67 57 55 | 7e ac ff 54 ef 3d 9f 6f |.O.S.gWU|~..T.=.o|
|00001880| fb 7f ce 45 9f fc fd 6f | fd ff 76 77 a7 b7 e7 df |...E...o|..vw....|
|00001890| fd db af 1f 7b dd df 7f | ef ff 4f ed ff be e6 fd |....{...|..O.....|
|000018a0| ef ff f9 ef ad b4 ff fa | f7 fe e7 73 d5 7b ba ff |........|...s.{..|
|000018b0| d9 3d 6d fb e7 71 68 79 | 7d 1b f2 53 34 df a3 79 |.=m..qhy|}..S4..y|
|000018c0| 7b f5 ff 50 00 00 27 ae | 20 05 03 97 09 9d 4c 42 |{..P..'.| .....LB|
|000018d0| 71 3a 13 99 f1 00 36 02 | 4b 1a a9 56 c2 a6 51 b6 |q:....6.|K..V..Q.|
|000018e0| d4 71 2c 01 fa ed ed 96 | 6b bf b1 08 64 80 e8 cd |.q,.....|k...d...|
|000018f0| 6f 82 76 cd ea 0a fb c3 | 4c eb 46 03 66 07 d9 bc |o.v.....|L.F.f...|
|00001900| ee 28 0d 21 1a 7b 4c 49 | 82 24 ad 46 b9 ba aa 52 |.(.!.{LI|.$.F...R|
|00001910| 17 88 d5 d3 f3 f9 80 17 | 1e d0 d7 39 ad 91 0d 9d |........|...9....|
|00001920| 8c 9e e6 12 da e8 ea 84 | b9 36 eb 11 e2 2c c4 43 |........|.6...,.C|
|00001930| 91 7d e3 d7 93 b5 59 cf | ea 4b d5 ff b8 dd 2a 52 |.}....Y.|.K....*R|
|00001940| f5 24 24 0b 3b 30 51 40 | 00 00 22 50 e0 02 01 00 |.$$.;0Q@|.."P....|
|00001950| 00 08 00 00 00 00 00 15 | 00 40 08 00 04 00 00 00 |........|.@......|
|00001960| 00 04 00 00 00 00 00 00 | 60 05 00 00 00 02 00 00 |........|`.......|
|00001970| 00 00 00 00 08 00 44 00 | 04 40 01 00 00 00 48 11 |......D.|.@....H.|
|00001980| 00 00 00 40 00 00 00 00 | 08 00 40 00 00 00 00 00 |...@....|..@.....|
|00001990| 00 05 18 00 00 04 80 20 | 00 00 00 00 10 82 02 04 |....... |........|
|000019a0| 00 14 00 04 01 84 00 10 | 00 00 40 00 00 00 00 00 |........|..@.....|
|000019b0| 40 10 00 01 01 40 20 00 | 00 00 02 00 00 10 00 60 |@....@ .|.......`|
|000019c0| 89 00 00 20 04 21 00 00 | 00 00 00 00 00 00 00 00 |... .!..|........|
|000019d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000019f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001b00| 00 00 47 20 42 4b 47 44 | 00 00 0c 39 00 00 00 00 |..G BKGD|...9....|
|00001b10| 00 00 0d 77 40 00 00 00 | 00 00 00 01 00 00 0a 66 |...w@...|.......f|
|00001b20| 00 00 21 15 00 1c 00 2a | 00 00 12 58 00 07 00 00 |..!....*|...X....|
|00001b30| 00 a6 00 28 00 27 02 0d | 00 0e 00 08 01 08 01 f8 |...(.'..|........|
|00001b40| 00 00 00 00 00 00 00 00 | 00 03 00 0c 00 00 00 10 |........|........|
|00001b50| 42 6f 72 64 65 72 31 00 | 00 00 03 a8 00 07 02 15 |Border1.|........|
|00001b60| 00 c1 00 bc 00 d3 01 48 | 00 00 00 00 00 00 00 00 |.......H|........|
|00001b70| 00 03 00 0c 00 00 00 10 | 52 65 61 72 20 43 6c 75 |........|Rear Clu|
|00001b80| 73 74 65 72 00 00 70 6f | 70 55 70 4d 65 6e 75 28 |ster..po|pUpMenu(|
|00001b90| 4d 65 6e 75 54 65 78 74 | 2c 20 4d 65 6e 75 4c 6f |MenuText|, MenuLo|
|00001ba0| 63 20 5b 2c 44 65 66 61 | 75 6c 74 49 74 65 6d 4e |c [,Defa|ultItemN|
|00001bb0| 75 6d 5d 20 5b 2c 54 65 | 78 74 46 6f 6e 74 5d 20 |um] [,Te|xtFont] |
|00001bc0| 5b 2c 54 65 78 74 53 69 | 7a 65 5d 20 29 0d 0d 6f |[,TextSi|ze] )..o|
|00001bd0| 6e 20 6d 6f 75 73 65 44 | 6f 77 6e 0d 67 6c 6f 62 |n mouseD|own.glob|
|00001be0| 61 6c 20 75 73 65 4d 65 | 6e 75 73 2c 20 6d 61 78 |al useMe|nus, max|
|00001bf0| 53 70 65 65 64 73 0d 70 | 75 74 20 22 31 20 46 72 |Speeds.p|ut "1 Fr|
|00001c00| 65 65 20 57 68 65 65 6c | 2c 32 20 52 65 61 72 20 |ee Wheel|,2 Rear |
|00001c10| 47 65 61 72 73 2c 33 20 | 52 65 61 72 20 47 65 61 |Gears,3 |Rear Gea|
|00001c20| 72 73 2c 22 20 26 c2 0d | 22 34 20 52 65 61 72 20 |rs," &..|"4 Rear |
|00001c30| 47 65 61 72 73 2c 35 20 | 46 72 65 65 20 57 68 65 |Gears,5 |Free Whe|
|00001c40| 65 6c 73 2c 36 20 46 72 | 65 65 20 57 68 65 65 6c |els,6 Fr|ee Wheel|
|00001c50| 73 2c 37 20 46 72 65 65 | 20 57 68 65 65 6c 73 22 |s,7 Free| Wheels"|
|00001c60| 20 69 6e 74 6f 20 6d 65 | 6e 75 0d 2d 2d 20 70 75 | into me|nu.-- pu|
|00001c70| 74 20 30 20 69 6e 74 6f | 20 63 75 72 72 65 6e 74 |t 0 into| current|
|00001c80| 20 2d 2d 20 72 65 61 6c | 6c 79 20 6e 65 65 64 20 | -- real|ly need |
|00001c90| 74 6f 20 73 65 61 72 63 | 68 20 74 68 72 6f 75 67 |to searc|h throug|
|00001ca0| 68 20 6d 65 6e 75 20 66 | 6f 72 20 6d 61 74 63 68 |h menu f|or match|
|00001cb0| 0d 70 75 74 20 77 6f 72 | 64 20 31 20 6f 66 20 74 |.put wor|d 1 of t|
|00001cc0| 61 72 67 65 74 20 69 6e | 74 6f 20 63 75 72 72 65 |arget in|to curre|
|00001cd0| 6e 74 0d 69 66 20 75 73 | 65 4d 65 6e 75 73 20 74 |nt.if us|eMenus t|
|00001ce0| 68 65 6e 0d 70 75 74 20 | 74 68 65 20 74 6f 70 4c |hen.put |the topL|
|00001cf0| 65 66 74 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |eft of t|he targe|
|00001d00| 74 20 69 6e 74 6f 20 6c | 6f 63 0d 70 75 74 20 6c |t into l|oc.put l|
|00001d10| 69 6e 65 20 31 20 6f 66 | 20 50 6f 70 55 70 4d 65 |ine 1 of| PopUpMe|
|00001d20| 6e 75 28 6d 65 6e 75 2c | 20 6c 6f 63 2c 20 63 75 |nu(menu,| loc, cu|
|00001d30| 72 72 65 6e 74 2c 20 22 | 47 65 6e 65 76 61 22 2c |rrent, "|Geneva",|
|00001d40| 20 31 32 29 20 69 6e 74 | 6f 20 4d 65 6e 75 52 65 | 12) int|o MenuRe|
|00001d50| 73 75 6c 74 0d 65 6c 73 | 65 0d 61 73 6b 20 22 48 |sult.els|e.ask "H|
|00001d60| 6f 77 20 6d 61 6e 79 20 | 66 72 65 65 20 77 68 65 |ow many |free whe|
|00001d70| 65 6c 73 3f 22 20 77 69 | 74 68 20 63 75 72 72 65 |els?" wi|th curre|
|00001d80| 6e 74 0d 69 66 20 69 74 | 20 69 73 20 65 6d 70 74 |nt.if it| is empt|
|00001d90| 79 20 74 68 65 6e 20 65 | 78 69 74 20 6d 6f 75 73 |y then e|xit mous|
|00001da0| 65 44 6f 77 6e 0d 69 66 | 20 69 74 20 69 73 20 6e |eDown.if| it is n|
|00001db0| 6f 74 20 61 20 6e 75 6d | 62 65 72 20 74 68 65 6e |ot a num|ber then|
|00001dc0| 0d 61 6e 73 77 65 72 20 | 22 59 6f 75 20 6d 75 73 |.answer |"You mus|
|00001dd0| 74 20 65 6e 74 65 72 20 | 61 20 6e 75 6d 62 65 72 |t enter |a number|
|00001de0| 20 68 65 72 65 22 0d 65 | 78 69 74 20 6d 6f 75 73 | here".e|xit mous|
|00001df0| 65 44 6f 77 6e 0d 65 6e | 64 20 69 66 0d 69 66 20 |eDown.en|d if.if |
|00001e00| 69 74 20 3c 20 31 20 6f | 72 20 69 74 20 3e 20 6d |it < 1 o|r it > m|
|00001e10| 61 78 53 70 65 65 64 73 | 20 74 68 65 6e 0d 61 6e |axSpeeds| then.an|
|00001e20| 73 77 65 72 20 22 52 65 | 70 6c 79 20 6f 75 74 20 |swer "Re|ply out |
|00001e30| 6f 66 20 6b 6e 6f 77 6e | 20 72 61 6e 67 65 21 22 |of known| range!"|
|00001e40| 0d 65 78 69 74 20 6d 6f | 75 73 65 44 6f 77 6e 0d |.exit mo|useDown.|
|00001e50| 65 6e 64 20 69 66 0d 70 | 75 74 20 69 74 65 6d 20 |end if.p|ut item |
|00001e60| 69 74 20 6f 66 20 6d 65 | 6e 75 20 69 6e 74 6f 20 |it of me|nu into |
|00001e70| 4d 65 6e 75 52 65 73 75 | 6c 74 0d 65 6e 64 20 69 |MenuResu|lt.end i|
|00001e80| 66 0d 69 66 20 28 4d 65 | 6e 75 52 65 73 75 6c 74 |f.if (Me|nuResult|
|00001e90| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 29 20 61 | is not |empty) a|
|00001ea0| 6e 64 20 28 4d 65 6e 75 | 52 65 73 75 6c 74 20 69 |nd (Menu|Result i|
|00001eb0| 73 20 6e 6f 74 20 74 61 | 72 67 65 74 29 20 74 68 |s not ta|rget) th|
|00001ec0| 65 6e 0d 70 75 74 20 4d | 65 6e 75 52 65 73 75 6c |en.put M|enuResul|
|00001ed0| 74 20 69 6e 74 6f 20 74 | 61 72 67 65 74 0d 52 65 |t into t|arget.Re|
|00001ee0| 61 72 43 6c 75 73 74 65 | 72 0d 65 6e 64 20 69 66 |arCluste|r.end if|
|00001ef0| 0d 65 6e 64 20 6d 6f 75 | 73 65 44 6f 77 6e 0d 0d |.end mou|seDown..|
|00001f00| 00 00 03 1c 00 09 02 15 | 00 c1 00 49 00 d3 00 b1 |........|...I....|
|00001f10| 00 00 00 00 00 00 00 00 | 00 03 00 0c 00 00 00 10 |........|........|
|00001f20| 46 72 6f 6e 74 20 43 68 | 61 69 6e 00 00 70 6f 70 |Front Ch|ain..pop|
|00001f30| 55 70 4d 65 6e 75 28 4d | 65 6e 75 54 65 78 74 2c |UpMenu(M|enuText,|
|00001f40| 20 4d 65 6e 75 4c 6f 63 | 20 5b 2c 44 65 66 61 75 | MenuLoc| [,Defau|
|00001f50| 6c 74 49 74 65 6d 4e 75 | 6d 5d 20 5b 2c 54 65 78 |ltItemNu|m] [,Tex|
|00001f60| 74 46 6f 6e 74 5d 20 5b | 2c 54 65 78 74 53 69 7a |tFont] [|,TextSiz|
|00001f70| 65 5d 20 29 0d 0d 6f 6e | 20 6d 6f 75 73 65 44 6f |e] )..on| mouseDo|
|00001f80| 77 6e 0d 67 6c 6f 62 61 | 6c 20 75 73 65 4d 65 6e |wn.globa|l useMen|
|00001f90| 75 73 0d 70 75 74 20 22 | 31 20 43 68 61 69 6e 20 |us.put "|1 Chain |
|00001fa0| 57 68 65 65 6c 2c 32 20 | 43 68 61 69 6e 20 57 68 |Wheel,2 |Chain Wh|
|00001fb0| 65 65 6c 73 2c 33 20 43 | 68 61 69 6e 20 57 68 65 |eels,3 C|hain Whe|
|00001fc0| 65 6c 73 22 20 69 6e 74 | 6f 20 6d 65 6e 75 0d 70 |els" int|o menu.p|
|00001fd0| 75 74 20 77 6f 72 64 20 | 31 20 6f 66 20 74 61 72 |ut word |1 of tar|
|00001fe0| 67 65 74 20 69 6e 74 6f | 20 63 75 72 72 65 6e 74 |get into| current|
|00001ff0| 0d 69 66 20 75 73 65 4d | 65 6e 75 73 20 74 68 65 |.if useM|enus the|
|00002000| 6e 0d 70 75 74 20 74 68 | 65 20 74 6f 70 4c 65 66 |n.put th|e topLef|
|00002010| 74 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 20 |t of the| target |
|00002020| 69 6e 74 6f 20 6c 6f 63 | 0d 70 75 74 20 6c 69 6e |into loc|.put lin|
|00002030| 65 20 31 20 6f 66 20 50 | 6f 70 55 70 4d 65 6e 75 |e 1 of P|opUpMenu|
|00002040| 28 6d 65 6e 75 2c 20 6c | 6f 63 2c 20 63 75 72 72 |(menu, l|oc, curr|
|00002050| 65 6e 74 2c 20 22 47 65 | 6e 65 76 61 22 2c 20 31 |ent, "Ge|neva", 1|
|00002060| 32 29 20 69 6e 74 6f 20 | 4d 65 6e 75 52 65 73 75 |2) into |MenuResu|
|00002070| 6c 74 0d 65 6c 73 65 0d | 61 73 6b 20 22 48 6f 77 |lt.else.|ask "How|
|00002080| 20 6d 61 6e 79 20 63 68 | 61 69 6e 20 77 68 65 65 | many ch|ain whee|
|00002090| 6c 73 3f 22 20 77 69 74 | 68 20 63 75 72 72 65 6e |ls?" wit|h curren|
|000020a0| 74 0d 69 66 20 69 74 20 | 69 73 20 65 6d 70 74 79 |t.if it |is empty|
|000020b0| 20 74 68 65 6e 20 65 78 | 69 74 20 6d 6f 75 73 65 | then ex|it mouse|
|000020c0| 44 6f 77 6e 0d 69 66 20 | 69 74 20 69 73 20 6e 6f |Down.if |it is no|
|000020d0| 74 20 61 20 6e 75 6d 62 | 65 72 20 74 68 65 6e 0d |t a numb|er then.|
|000020e0| 61 6e 73 77 65 72 20 22 | 59 6f 75 20 6d 75 73 74 |answer "|You must|
|000020f0| 20 65 6e 74 65 72 20 61 | 20 6e 75 6d 62 65 72 20 | enter a| number |
|00002100| 68 65 72 65 22 0d 65 78 | 69 74 20 6d 6f 75 73 65 |here".ex|it mouse|
|00002110| 44 6f 77 6e 0d 65 6e 64 | 20 69 66 0d 69 66 20 69 |Down.end| if.if i|
|00002120| 74 20 3c 20 31 20 6f 72 | 20 69 74 20 3e 20 6d 61 |t < 1 or| it > ma|
|00002130| 78 53 70 65 65 64 73 20 | 74 68 65 6e 0d 61 6e 73 |xSpeeds |then.ans|
|00002140| 77 65 72 20 22 52 65 70 | 6c 79 20 6f 75 74 20 6f |wer "Rep|ly out o|
|00002150| 66 20 6b 6e 6f 77 6e 20 | 72 61 6e 67 65 21 22 0d |f known |range!".|
|00002160| 65 78 69 74 20 6d 6f 75 | 73 65 44 6f 77 6e 0d 65 |exit mou|seDown.e|
|00002170| 6e 64 20 69 66 0d 70 75 | 74 20 69 74 65 6d 20 69 |nd if.pu|t item i|
|00002180| 74 20 6f 66 20 6d 65 6e | 75 20 69 6e 74 6f 20 4d |t of men|u into M|
|00002190| 65 6e 75 52 65 73 75 6c | 74 0d 65 6e 64 20 69 66 |enuResul|t.end if|
|000021a0| 0d 69 66 20 28 4d 65 6e | 75 52 65 73 75 6c 74 20 |.if (Men|uResult |
|000021b0| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 29 20 61 6e |is not e|mpty) an|
|000021c0| 64 20 28 4d 65 6e 75 52 | 65 73 75 6c 74 20 69 73 |d (MenuR|esult is|
|000021d0| 20 6e 6f 74 20 74 61 72 | 67 65 74 29 20 74 68 65 | not tar|get) the|
|000021e0| 6e 0d 70 75 74 20 4d 65 | 6e 75 52 65 73 75 6c 74 |n.put Me|nuResult|
|000021f0| 20 69 6e 74 6f 20 74 61 | 72 67 65 74 0d 66 72 6f | into ta|rget.fro|
|00002200| 6e 74 43 68 61 69 6e 0d | 65 6e 64 20 69 66 0d 65 |ntChain.|end if.e|
|00002210| 6e 64 20 6d 6f 75 73 65 | 44 6f 77 6e 0d 00 00 2a |nd mouse|Down...*|
|00002220| 00 0b 02 0d 00 47 00 4d | 00 bc 01 aa 00 00 00 00 |.....G.M|........|
|00002230| 00 00 00 00 00 03 00 0c | 00 00 00 10 42 6b 67 20 |........|....Bkg |
|00002240| 41 72 65 61 00 00 00 00 | 00 32 00 0c 02 01 00 f3 |Area....|.2......|
|00002250| 00 48 01 05 00 da 00 00 | 00 00 00 00 00 00 00 03 |.H......|........|
|00002260| 00 0c 00 00 00 10 66 72 | 6f 6e 74 44 69 66 66 65 |......fr|ontDiffe|
|00002270| 72 65 6e 74 69 61 6c 00 | 00 00 00 2a 00 0e 02 01 |rential.|...*....|
|00002280| 00 f3 00 de 01 05 01 49 | 00 00 00 00 00 00 00 00 |.......I|........|
|00002290| 00 03 00 0c 00 00 00 10 | 43 68 61 69 6e 57 72 61 |........|ChainWra|
|000022a0| 70 00 00 00 00 4e 00 0f | 01 80 00 f2 01 6b 01 07 |p....N..|.....k..|
|000022b0| 01 b4 80 03 00 00 00 00 | 00 01 00 00 00 0c 00 00 |........|........|
|000022c0| 00 10 63 61 6c 63 75 6c | 61 74 65 00 00 6f 6e 20 |..calcul|ate..on |
|000022d0| 6d 6f 75 73 65 55 70 0d | 63 61 6c 63 75 6c 61 74 |mouseUp.|calculat|
|000022e0| 65 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 0d 0d 0d |e.end mo|useUp...|
|000022f0| 0d 00 00 6e 00 10 01 00 | 00 b4 00 17 00 d2 00 3c |...n....|.......<|
|00002300| 10 00 00 00 61 aa 00 01 | 00 00 00 0c 00 00 00 10 |....a...|........|
|00002310| 49 6e 66 6f 00 00 6f 6e | 20 6d 6f 75 73 65 55 70 |Info..on| mouseUp|
|00002320| 0d 75 6e 6d 61 72 6b 20 | 61 6c 6c 20 63 61 72 64 |.unmark |all card|
|00002330| 73 0d 6d 61 72 6b 20 74 | 68 69 73 20 63 61 72 64 |s.mark t|his card|
|00002340| 0d 67 6f 20 74 6f 20 63 | 61 72 64 20 22 6d 65 6e |.go to c|ard "men|
|00002350| 75 22 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 0d 00 |u".end m|ouseUp..|
|00002360| 00 b0 00 12 01 00 00 db | 01 6c 00 ef 01 eb e0 05 |........|.l......|
|00002370| 00 00 00 00 00 01 00 00 | 00 0c 00 00 00 10 61 75 |........|......au|
|00002380| 74 6f 20 63 61 6c 63 75 | 6c 61 74 69 6f 6e 00 00 |to calcu|lation..|
|00002390| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 67 65 74 20 74 |on mouse|Up.get t|
|000023a0| 68 65 20 68 69 67 68 6c | 69 67 68 74 20 6f 66 20 |he highl|ight of |
|000023b0| 6d 65 0d 69 66 20 69 74 | 20 74 68 65 6e 20 63 61 |me.if it| then ca|
|000023c0| 6c 63 75 6c 61 74 65 0d | 73 65 74 20 74 68 65 20 |lculate.|set the |
|000023d0| 76 69 73 69 62 6c 65 20 | 6f 66 20 62 61 63 6b 67 |visible |of backg|
|000023e0| 72 6f 75 6e 64 20 62 75 | 74 74 6f 6e 20 22 63 61 |round bu|tton "ca|
|000023f0| 6c 63 75 6c 61 74 65 22 | 20 74 6f 20 6e 6f 74 20 |lculate"| to not |
|00002400| 69 74 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 0d 00 |it.end m|ouseUp..|
|00002410| 02 7a 00 16 02 15 00 d8 | 01 0b 00 ea 01 48 00 00 |.z......|.....H..|
|00002420| 00 00 00 00 00 00 00 03 | 00 0c 00 00 00 10 57 68 |........|......Wh|
|00002430| 65 65 6c 20 53 69 7a 65 | 00 00 70 6f 70 55 70 4d |eel Size|..popUpM|
|00002440| 65 6e 75 28 4d 65 6e 75 | 54 65 78 74 2c 20 4d 65 |enu(Menu|Text, Me|
|00002450| 6e 75 4c 6f 63 20 5b 2c | 44 65 66 61 75 6c 74 49 |nuLoc [,|DefaultI|
|00002460| 74 65 6d 4e 75 6d 5d 20 | 5b 2c 54 65 78 74 46 6f |temNum] |[,TextFo|
|00002470| 6e 74 5d 20 5b 2c 54 65 | 78 74 53 69 7a 65 5d 20 |nt] [,Te|xtSize] |
|00002480| 29 0d 0d 6f 6e 20 6d 6f | 75 73 65 44 6f 77 6e 0d |)..on mo|useDown.|
|00002490| 67 6c 6f 62 61 6c 20 75 | 73 65 4d 65 6e 75 73 0d |global u|seMenus.|
|000024a0| 70 75 74 20 22 32 34 20 | 69 6e 63 68 2c 32 36 20 |put "24 |inch,26 |
|000024b0| 69 6e 63 68 2c 32 37 20 | 69 6e 63 68 2c 37 30 30 |inch,27 |inch,700|
|000024c0| 20 63 22 20 69 6e 74 6f | 20 6d 65 6e 75 0d 70 75 | c" into| menu.pu|
|000024d0| 74 20 6c 6f 63 61 74 65 | 49 6e 28 6d 65 6e 75 2c |t locate|In(menu,|
|000024e0| 20 74 61 72 67 65 74 29 | 20 69 6e 74 6f 20 63 75 | target)| into cu|
|000024f0| 72 72 65 6e 74 0d 69 66 | 20 75 73 65 4d 65 6e 75 |rrent.if| useMenu|
|00002500| 73 20 74 68 65 6e 0d 67 | 65 74 20 74 68 65 20 72 |s then.g|et the r|
|00002510| 65 63 74 20 6f 66 20 74 | 68 65 20 74 61 72 67 65 |ect of t|he targe|
|00002520| 74 0d 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |t.put it|em 1 of |
|00002530| 69 74 20 69 6e 74 6f 20 | 6c 6f 63 0d 70 75 74 20 |it into |loc.put |
|00002540| 69 74 65 6d 20 32 20 6f | 66 20 69 74 20 69 6e 74 |item 2 o|f it int|
|00002550| 6f 20 69 74 65 6d 20 32 | 20 6f 66 20 6c 6f 63 0d |o item 2| of loc.|
|00002560| 70 75 74 20 6c 69 6e 65 | 20 31 20 6f 66 20 50 6f |put line| 1 of Po|
|00002570| 70 55 70 4d 65 6e 75 28 | 6d 65 6e 75 2c 20 6c 6f |pUpMenu(|menu, lo|
|00002580| 63 2c 20 63 75 72 72 65 | 6e 74 2c 20 22 47 65 6e |c, curre|nt, "Gen|
|00002590| 65 76 61 22 2c 20 31 32 | 29 20 69 6e 74 6f 20 4d |eva", 12|) into M|
|000025a0| 65 6e 75 52 65 73 75 6c | 74 0d 65 6c 73 65 0d 61 |enuResul|t.else.a|
|000025b0| 6e 73 77 65 72 20 22 57 | 68 61 74 20 77 68 65 65 |nswer "W|hat whee|
|000025c0| 6c 20 73 69 7a 65 3f 22 | 20 77 69 74 68 20 22 32 |l size?"| with "2|
|000025d0| 36 20 69 6e 63 68 22 20 | 6f 72 20 22 32 37 20 69 |6 inch" |or "27 i|
|000025e0| 6e 63 68 22 20 6f 72 20 | 22 37 30 30 20 63 22 0d |nch" or |"700 c".|
|000025f0| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 4d 65 6e 75 |put it i|nto Menu|
|00002600| 52 65 73 75 6c 74 0d 65 | 6e 64 20 69 66 0d 69 66 |Result.e|nd if.if|
|00002610| 20 28 4d 65 6e 75 52 65 | 73 75 6c 74 20 69 73 20 | (MenuRe|sult is |
|00002620| 6e 6f 74 20 65 6d 70 74 | 79 29 20 61 6e 64 20 28 |not empt|y) and (|
|00002630| 4d 65 6e 75 52 65 73 75 | 6c 74 20 69 73 20 6e 6f |MenuResu|lt is no|
|00002640| 74 20 74 61 72 67 65 74 | 29 20 74 68 65 6e 0d 70 |t target|) then.p|
|00002650| 75 74 20 4d 65 6e 75 52 | 65 73 75 6c 74 20 69 6e |ut MenuR|esult in|
|00002660| 74 6f 20 74 61 72 67 65 | 74 0d 57 68 65 65 6c 53 |to targe|t.WheelS|
|00002670| 69 7a 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 6d |ize.end |if.end m|
|00002680| 6f 75 73 65 44 6f 77 6e | 0d 00 00 28 00 28 02 0d |ouseDown|...(.(..|
|00002690| 01 13 00 10 01 4d 01 f1 | 00 00 00 00 00 00 00 00 |.....M..|........|
|000026a0| 00 03 00 0c 00 00 00 10 | 42 6f 72 64 65 72 32 00 |........|Border2.|
|000026b0| 00 00 00 62 00 17 02 1d | 00 d8 00 bc 00 ea 01 0c |...b....|........|
|000026c0| 00 00 00 00 00 00 00 00 | 00 03 00 0c 00 00 00 10 |........|........|
|000026d0| 00 00 6f 6e 20 6d 6f 75 | 73 65 44 6f 77 6e 0d 73 |..on mou|seDown.s|
|000026e0| 65 6e 64 20 6d 6f 75 73 | 65 44 6f 77 6e 20 74 6f |end mous|eDown to|
|000026f0| 20 66 69 65 6c 64 20 22 | 57 68 65 65 6c 20 53 69 | field "|Wheel Si|
|00002700| 7a 65 22 0d 65 6e 64 20 | 6d 6f 75 73 65 44 6f 77 |ze".end |mouseDow|
|00002710| 6e 0d 00 00 00 5c 00 18 | 02 1d 01 16 00 13 01 26 |n....\..|.......&|
|00002720| 00 41 00 00 00 00 00 00 | 00 00 00 03 00 0a 01 00 |.A......|........|
|00002730| 00 0d 00 00 6f 6e 20 6d | 6f 75 73 65 44 6f 77 6e |....on m|ouseDown|
|00002740| 0d 73 65 6e 64 20 6d 6f | 75 73 65 44 6f 77 6e 20 |.send mo|useDown |
|00002750| 74 6f 20 66 69 65 6c 64 | 20 22 52 61 6e 67 65 22 |to field| "Range"|
|00002760| 0d 65 6e 64 20 6d 6f 75 | 73 65 44 6f 77 6e 0d 00 |.end mou|seDown..|
|00002770| 02 36 00 19 02 15 01 16 | 00 40 01 26 00 7d 00 00 |.6......|.@.&.}..|
|00002780| 00 00 00 00 00 00 00 03 | 00 0a 01 00 00 0d 52 61 |........|......Ra|
|00002790| 6e 67 65 00 00 70 6f 70 | 55 70 4d 65 6e 75 28 4d |nge..pop|UpMenu(M|
|000027a0| 65 6e 75 54 65 78 74 2c | 20 4d 65 6e 75 4c 6f 63 |enuText,| MenuLoc|
|000027b0| 20 5b 2c 44 65 66 61 75 | 6c 74 49 74 65 6d 4e 75 | [,Defau|ltItemNu|
|000027c0| 6d 5d 20 5b 2c 54 65 78 | 74 46 6f 6e 74 5d 20 5b |m] [,Tex|tFont] [|
|000027d0| 2c 54 65 78 74 53 69 7a | 65 5d 20 29 0d 0d 6f 6e |,TextSiz|e] )..on|
|000027e0| 20 6d 6f 75 73 65 44 6f | 77 6e 0d 67 6c 6f 62 61 | mouseDo|wn.globa|
|000027f0| 6c 20 75 73 65 4d 65 6e | 75 73 0d 70 75 74 20 22 |l useMen|us.put "|
|00002800| 52 61 63 69 6e 67 2c 54 | 6f 77 6e 2c 54 6f 75 72 |Racing,T|own,Tour|
|00002810| 69 6e 67 22 20 69 6e 74 | 6f 20 6d 65 6e 75 0d 70 |ing" int|o menu.p|
|00002820| 75 74 20 6c 6f 63 61 74 | 65 49 6e 28 6d 65 6e 75 |ut locat|eIn(menu|
|00002830| 2c 20 74 61 72 67 65 74 | 29 20 69 6e 74 6f 20 63 |, target|) into c|
|00002840| 75 72 72 65 6e 74 0d 69 | 66 20 75 73 65 4d 65 6e |urrent.i|f useMen|
|00002850| 75 73 20 74 68 65 6e 0d | 70 75 74 20 74 68 65 20 |us then.|put the |
|00002860| 74 6f 70 4c 65 66 74 20 | 6f 66 20 74 68 65 20 74 |topLeft |of the t|
|00002870| 61 72 67 65 74 20 69 6e | 74 6f 20 6c 6f 63 0d 70 |arget in|to loc.p|
|00002880| 75 74 20 6c 69 6e 65 20 | 31 20 6f 66 20 50 6f 70 |ut line |1 of Pop|
|00002890| 55 70 4d 65 6e 75 28 6d | 65 6e 75 2c 20 6c 6f 63 |UpMenu(m|enu, loc|
|000028a0| 2c 20 63 75 72 72 65 6e | 74 2c 20 22 47 65 6e 65 |, curren|t, "Gene|
|000028b0| 76 61 22 2c 20 31 30 29 | 20 69 6e 74 6f 20 4d 65 |va", 10)| into Me|
|000028c0| 6e 75 52 65 73 75 6c 74 | 0d 65 6c 73 65 0d 61 6e |nuResult|.else.an|
|000028d0| 73 77 65 72 20 22 57 68 | 61 74 20 72 61 6e 67 65 |swer "Wh|at range|
|000028e0| 20 74 6f 20 75 73 65 3f | 22 20 77 69 74 68 20 22 | to use?|" with "|
|000028f0| 52 61 63 69 6e 67 22 20 | 6f 72 20 22 54 6f 77 6e |Racing" |or "Town|
|00002900| 22 20 6f 72 20 22 54 6f | 75 72 69 6e 67 22 0d 70 |" or "To|uring".p|
|00002910| 75 74 20 69 74 20 69 6e | 74 6f 20 4d 65 6e 75 52 |ut it in|to MenuR|
|00002920| 65 73 75 6c 74 0d 65 6e | 64 20 69 66 0d 69 66 20 |esult.en|d if.if |
|00002930| 28 4d 65 6e 75 52 65 73 | 75 6c 74 20 69 73 20 6e |(MenuRes|ult is n|
|00002940| 6f 74 20 65 6d 70 74 79 | 29 20 61 6e 64 20 28 4d |ot empty|) and (M|
|00002950| 65 6e 75 52 65 73 75 6c | 74 20 69 73 20 6e 6f 74 |enuResul|t is not|
|00002960| 20 74 61 72 67 65 74 29 | 20 74 68 65 6e 0d 70 75 | target)| then.pu|
|00002970| 74 20 4d 65 6e 75 52 65 | 73 75 6c 74 20 69 6e 74 |t MenuRe|sult int|
|00002980| 6f 20 74 61 72 67 65 74 | 0d 72 61 6e 67 65 0d 65 |o target|.range.e|
|00002990| 6e 64 20 69 66 0d 65 6e | 64 20 6d 6f 75 73 65 44 |nd if.en|d mouseD|
|000029a0| 6f 77 6e 0d 00 00 00 22 | 00 1a 02 0d 00 35 00 94 |own...."|.....5..|
|000029b0| 00 46 01 15 00 00 00 00 | 00 00 00 00 00 00 00 0c |.F......|........|
|000029c0| 20 00 00 10 00 00 00 00 | 00 22 00 1b 02 0d 00 58 | .......|.".....X|
|000029d0| 00 12 00 a4 00 47 00 00 | 00 00 00 00 00 00 00 00 |.....G..|........|
|000029e0| 00 0c 20 00 00 10 00 00 | 00 00 00 2a 00 2a 02 04 |.. .....|...*.*..|
|000029f0| 00 39 00 16 00 45 00 26 | 00 00 00 00 00 00 00 00 |.9...E.&|........|
|00002a00| 00 03 00 0c 00 00 00 10 | 42 69 6b 65 50 69 63 74 |........|BikePict|
|00002a10| 00 00 00 00 00 22 00 1c | 02 0d 00 12 00 0c 00 24 |....."..|.......$|
|00002a20| 00 b0 00 00 00 00 00 00 | 00 00 00 00 00 0c 20 00 |........|...... .|
|00002a30| 00 10 00 00 00 00 00 26 | 00 1d 02 04 00 14 01 26 |.......&|.......&|
|00002a40| 00 43 01 f3 00 00 00 00 | 00 00 00 00 00 15 00 09 |.C......|........|
|00002a50| 00 00 00 0c 4e 6f 74 65 | 73 00 00 00 00 22 00 1e |....Note|s...."..|
|00002a60| 02 0d 00 14 01 03 00 21 | 01 2a 00 00 00 00 00 00 |.......!|.*......|
|00002a70| 00 00 00 15 00 09 01 00 | 00 0c 00 00 00 00 00 22 |........|......."|
|00002a80| 00 1f 02 0d 00 25 00 0c | 00 34 00 89 00 00 00 00 |.....%..|.4......|
|00002a90| 00 00 00 00 00 03 00 09 | 20 00 00 0c 00 00 00 00 |........| .......|
|00002aa0| 00 50 00 20 01 80 00 f0 | 01 c4 01 08 01 eb 10 00 |.P. ....|........|
|00002ab0| 00 00 20 e3 00 01 00 00 | 00 0c 00 00 00 10 4e 65 |.. .....|......Ne|
|00002ac0| 78 74 00 00 6f 6e 20 6d | 6f 75 73 65 55 70 0d 67 |xt..on m|ouseUp.g|
|00002ad0| 6f 20 74 6f 20 74 68 65 | 20 6e 65 78 74 20 63 61 |o to the| next ca|
|00002ae0| 72 64 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 00 00 |rd.end m|ouseUp..|
|00002af0| 00 54 00 21 01 80 00 f0 | 00 15 01 08 00 3c 10 00 |.T.!....|.....<..|
|00002b00| 00 00 45 73 00 01 00 00 | 00 0c 00 00 00 10 50 72 |..Es....|......Pr|
|00002b10| 65 76 00 00 6f 6e 20 6d | 6f 75 73 65 55 70 0d 67 |ev..on m|ouseUp.g|
|00002b20| 6f 20 74 6f 20 74 68 65 | 20 70 72 65 76 69 6f 75 |o to the| previou|
|00002b30| 73 20 63 61 72 64 0d 65 | 6e 64 20 6d 6f 75 73 65 |s card.e|nd mouse|
|00002b40| 55 70 00 00 01 2a 00 22 | 01 00 00 c5 01 6c 00 d9 |Up...*."|.....l..|
|00002b50| 01 90 80 03 00 00 00 00 | 00 01 00 00 00 0c 00 00 |........|........|
|00002b60| 00 10 6e 65 77 00 00 6f | 6e 20 6d 6f 75 73 65 55 |..new..o|n mouseU|
|00002b70| 70 0d 67 6c 6f 62 61 6c | 20 6d 61 78 52 69 6e 67 |p.global| maxRing|
|00002b80| 73 2c 20 6d 61 78 53 70 | 65 65 64 73 0d 64 6f 4d |s, maxSp|eeds.doM|
|00002b90| 65 6e 75 20 63 6f 70 79 | 20 63 61 72 64 0d 64 6f |enu copy| card.do|
|00002ba0| 4d 65 6e 75 20 70 61 73 | 74 65 20 63 61 72 64 0d |Menu pas|te card.|
|00002bb0| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 3d 31 20 |repeat w|ith i=1 |
|00002bc0| 74 6f 20 6d 61 78 52 69 | 6e 67 73 0d 70 75 74 20 |to maxRi|ngs.put |
|00002bd0| 65 6d 70 74 79 20 69 6e | 74 6f 20 63 61 72 64 20 |empty in|to card |
|00002be0| 66 69 65 6c 64 20 28 22 | 66 22 26 69 29 0d 65 6e |field ("|f"&i).en|
|00002bf0| 64 20 72 65 70 65 61 74 | 0d 72 65 70 65 61 74 20 |d repeat|.repeat |
|00002c00| 77 69 74 68 20 69 3d 31 | 20 74 6f 20 6d 61 78 53 |with i=1| to maxS|
|00002c10| 70 65 65 64 73 0d 70 75 | 74 20 65 6d 70 74 79 20 |peeds.pu|t empty |
|00002c20| 69 6e 74 6f 20 63 61 72 | 64 20 66 69 65 6c 64 20 |into car|d field |
|00002c30| 28 22 72 22 26 69 29 0d | 65 6e 64 20 72 65 70 65 |("r"&i).|end repe|
|00002c40| 61 74 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |at.put e|mpty int|
|00002c50| 6f 20 6e 6f 74 65 73 0d | 63 61 6c 63 75 6c 61 74 |o notes.|calculat|
|00002c60| 65 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 00 00 5e |e.end mo|useUp..^|
|00002c70| 00 23 01 00 00 c5 01 98 | 00 d9 01 bc 80 03 00 00 |.#......|........|
|00002c80| 00 00 00 01 00 00 00 0c | 00 00 00 10 64 75 70 00 |........|....dup.|
|00002c90| 00 6f 6e 20 6d 6f 75 73 | 65 55 70 0d 64 6f 4d 65 |.on mous|eUp.doMe|
|00002ca0| 6e 75 20 63 6f 70 79 20 | 63 61 72 64 0d 64 6f 4d |nu copy |card.doM|
|00002cb0| 65 6e 75 20 70 61 73 74 | 65 20 63 61 72 64 0d 65 |enu past|e card.e|
|00002cc0| 6e 64 20 6d 6f 75 73 65 | 55 70 00 00 00 50 00 24 |nd mouse|Up...P.$|
|00002cd0| 01 00 00 c5 01 c5 00 d9 | 01 e9 80 03 00 00 00 00 |........|........|
|00002ce0| 00 01 00 00 00 0c 00 00 | 00 10 64 65 6c 00 00 6f |........|..del..o|
|00002cf0| 6e 20 6d 6f 75 73 65 55 | 70 0d 64 6f 4d 65 6e 75 |n mouseU|p.doMenu|
|00002d00| 20 22 44 65 6c 65 74 65 | 20 43 61 72 64 22 0d 65 | "Delete| Card".e|
|00002d10| 6e 64 20 6d 6f 75 73 65 | 55 70 00 00 00 44 00 25 |nd mouse|Up...D.%|
|00002d20| 01 00 00 d6 00 1a 00 ed | 00 38 00 00 00 00 50 d1 |........|.8....P.|
|00002d30| 00 01 00 00 00 0c 00 00 | 00 10 68 6f 6d 65 00 00 |........|..home..|
|00002d40| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 67 6f 20 68 6f |on mouse|Up.go ho|
|00002d50| 6d 65 0d 65 6e 64 20 6d | 6f 75 73 65 55 70 0d 00 |me.end m|ouseUp..|
|00002d60| 00 2a 00 26 02 0d 01 35 | 00 1d 01 40 01 df 00 00 |.*.&...5|...@....|
|00002d70| 00 00 00 00 00 00 00 03 | 00 0c 00 00 00 10 42 61 |........|......Ba|
|00002d80| 72 20 41 72 65 61 00 00 | 00 00 00 17 00 0c 00 57 |r Area..|.......W|
|00002d90| 68 65 65 6c 20 53 69 7a | 65 3a 00 18 00 08 00 52 |heel Siz|e:.....R|
|00002da0| 61 6e 67 65 3a 20 00 1a | 00 16 00 54 65 65 74 68 |ange: ..|...Teeth|
|00002db0| 20 6f 6e 20 52 65 61 72 | 20 43 6c 75 73 74 65 72 | on Rear| Cluster|
|00002dc0| 00 1b 00 16 00 54 65 65 | 74 68 20 6f 6e 20 43 68 |.....Tee|th on Ch|
|00002dd0| 61 69 6e 20 57 68 65 65 | 6c 73 00 1c 00 26 80 0a |ain Whee|ls...&..|
|00002de0| 00 00 00 01 00 18 00 02 | 42 69 63 79 63 6c 65 20 |........|Bicycle |
|00002df0| 47 65 61 72 20 43 61 6c | 63 75 6c 61 74 6f 72 20 |Gear Cal|culator |
|00002e00| 76 34 2e 30 00 1e 00 07 | 00 4e 6f 74 65 73 3a 00 |v4.0....|.Notes:.|
|00002e10| 00 1f 00 1c 00 a9 20 31 | 39 38 38 2d 39 31 2c 20 |...... 1|988-91, |
|00002e20| 44 61 76 69 64 20 41 2e | 20 42 65 6c 73 6c 65 79 |David A.| Belsley|
|00002e30| 43 61 6c 63 75 6c 61 74 | 69 6f 6e 00 6f 6e 20 6f |Calculat|ion.on o|
|00002e40| 70 65 6e 42 61 63 6b 67 | 72 6f 75 6e 64 20 64 6f |penBackg|round do|
|00002e50| 49 74 41 6e 79 77 61 79 | 0d 67 6c 6f 62 61 6c 20 |ItAnyway|.global |
|00002e60| 69 6e 69 74 43 61 6c 63 | 75 6c 61 74 69 6f 6e 0d |initCalc|ulation.|
|00002e70| 67 6c 6f 62 61 6c 20 62 | 61 73 65 4c 6f 63 2c 20 |global b|aseLoc, |
|00002e80| 66 61 72 4c 65 66 74 2c | 20 6d 61 78 53 70 65 65 |farLeft,| maxSpee|
|00002e90| 64 73 2c 20 6d 61 78 52 | 69 6e 67 73 2c 20 75 73 |ds, maxR|ings, us|
|00002ea0| 65 50 69 63 74 6f 69 64 | 73 0d 69 66 20 69 6e 69 |ePictoid|s.if ini|
|00002eb0| 74 43 61 6c 63 75 6c 61 | 74 69 6f 6e 20 69 73 20 |tCalcula|tion is |
|00002ec0| 65 6d 70 74 79 20 6f 72 | 20 64 6f 49 74 41 6e 79 |empty or| doItAny|
|00002ed0| 77 61 79 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |way is n|ot empty|
|00002ee0| 20 74 68 65 6e 0d 70 75 | 74 20 74 72 75 65 20 69 | then.pu|t true i|
|00002ef0| 6e 74 6f 20 69 6e 69 74 | 43 61 6c 63 75 6c 61 74 |nto init|Calculat|
|00002f00| 69 6f 6e 0d 2d 2d 20 69 | 6e 69 74 69 61 6c 69 7a |ion.-- i|nitializ|
|00002f10| 65 20 70 61 72 61 6d 65 | 74 65 72 73 0d 70 75 74 |e parame|ters.put|
|00002f20| 20 74 68 65 20 74 6f 70 | 4c 65 66 74 20 6f 66 20 | the top|Left of |
|00002f30| 62 61 63 6b 67 72 6f 75 | 6e 64 20 66 69 65 6c 64 |backgrou|nd field|
|00002f40| 20 22 42 61 72 20 41 72 | 65 61 22 20 69 6e 74 6f | "Bar Ar|ea" into|
|00002f50| 20 62 61 73 65 50 74 0d | 70 75 74 20 69 74 65 6d | basePt.|put item|
|00002f60| 20 31 20 6f 66 20 62 61 | 73 65 50 74 20 2b 20 31 | 1 of ba|sePt + 1|
|00002f70| 20 69 6e 74 6f 20 66 61 | 72 4c 65 66 74 0d 0d 70 | into fa|rLeft..p|
|00002f80| 75 74 20 37 20 69 6e 74 | 6f 20 6d 61 78 53 70 65 |ut 7 int|o maxSpe|
|00002f90| 65 64 73 20 2d 2d 20 6d | 61 78 69 6d 75 6d 20 6e |eds -- m|aximum n|
|00002fa0| 6f 20 6f 66 20 22 66 72 | 65 65 77 68 65 65 6c 73 |o of "fr|eewheels|
|00002fb0| 22 20 73 75 70 70 6f 72 | 74 65 64 0d 70 75 74 20 |" suppor|ted.put |
|00002fc0| 33 20 69 6e 74 6f 20 6d | 61 78 52 69 6e 67 73 20 |3 into m|axRings |
|00002fd0| 2d 2d 20 6d 61 78 69 6d | 75 6d 20 6e 6f 20 6f 66 |-- maxim|um no of|
|00002fe0| 20 63 68 61 69 6e 20 77 | 68 65 65 6c 73 20 73 75 | chain w|heels su|
|00002ff0| 70 70 6f 72 74 65 64 0d | 0d 67 65 74 20 69 74 65 |pported.|.get ite|
|00003000| 6d 20 32 20 6f 66 20 62 | 61 73 65 50 74 0d 72 65 |m 2 of b|asePt.re|
|00003010| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00003020| 74 6f 20 6d 61 78 52 69 | 6e 67 73 20 2d 2d 20 73 |to maxRi|ngs -- s|
|00003030| 65 74 20 59 20 73 65 74 | 74 69 6e 67 73 20 6f 66 |et Y set|tings of|
|00003040| 20 74 68 65 20 62 75 74 | 74 6f 6e 73 0d 70 75 74 | the but|tons.put|
|00003050| 20 69 74 20 2d 20 72 6f | 75 6e 64 28 74 68 65 20 | it - ro|und(the |
|00003060| 68 65 69 67 68 74 20 6f | 66 20 63 61 72 64 20 62 |height o|f card b|
|00003070| 75 74 74 6f 6e 20 28 22 | 70 22 26 69 26 22 31 22 |utton ("|p"&i&"1"|
|00003080| 29 2f 32 29 20 c2 0d 69 | 6e 74 6f 20 69 74 65 6d |)/2) ..i|nto item|
|00003090| 20 69 20 6f 66 20 62 61 | 73 65 4c 6f 63 0d 65 6e | i of ba|seLoc.en|
|000030a0| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |d repeat|.end if.|
|000030b0| 0d 63 48 43 63 6f 6c 6f | 72 69 7a 65 0d 0d 69 66 |.cHCcolo|rize..if|
|000030c0| 20 75 73 65 50 69 63 74 | 6f 69 64 73 20 74 68 65 | usePict|oids the|
|000030d0| 6e 0d 63 48 43 66 6f 72 | 63 65 53 63 72 65 65 6e |n.cHCfor|ceScreen|
|000030e0| 4c 6f 63 6b 0d 50 69 63 | 74 6f 69 64 20 62 69 6b |Lock.Pic|toid bik|
|000030f0| 65 2c 20 74 68 65 20 74 | 6f 70 4c 65 66 74 20 6f |e, the t|opLeft o|
|00003100| 66 20 66 69 65 6c 64 20 | 22 42 69 6b 65 50 69 63 |f field |"BikePic|
|00003110| 74 22 2c 20 22 42 69 63 | 79 63 6c 65 c0 22 2c 20 |t", "Bic|ycle.", |
|00003120| 6d 61 73 6b 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |mask.end| if.end |
|00003130| 6f 70 65 6e 42 61 63 6b | 67 72 6f 75 6e 64 0d 0d |openBack|ground..|
|00003140| 6f 6e 20 63 6c 6f 73 65 | 42 61 63 6b 67 72 6f 75 |on close|Backgrou|
|00003150| 6e 64 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |nd.if th|ere is a|
|00003160| 20 77 69 6e 64 6f 77 20 | 62 69 6b 65 20 74 68 65 | window |bike the|
|00003170| 6e 20 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 62 |n close |window b|
|00003180| 69 6b 65 0d 70 61 73 73 | 20 63 6c 6f 73 65 42 61 |ike.pass| closeBa|
|00003190| 63 6b 67 72 6f 75 6e 64 | 0d 65 6e 64 20 63 6c 6f |ckground|.end clo|
|000031a0| 73 65 42 61 63 6b 67 72 | 6f 75 6e 64 0d 0d 6f 6e |seBackgr|ound..on|
|000031b0| 20 73 75 73 70 65 6e 64 | 53 74 61 63 6b 0d 69 66 | suspend|Stack.if|
|000031c0| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|000031d0| 6f 77 20 62 69 6b 65 20 | 74 68 65 6e 20 68 69 64 |ow bike |then hid|
|000031e0| 65 20 77 69 6e 64 6f 77 | 20 62 69 6b 65 0d 70 61 |e window| bike.pa|
|000031f0| 73 73 20 73 75 73 70 65 | 6e 64 53 74 61 63 6b 0d |ss suspe|ndStack.|
|00003200| 65 6e 64 20 73 75 73 70 | 65 6e 64 53 74 61 63 6b |end susp|endStack|
|00003210| 0d 0d 6f 6e 20 72 65 73 | 75 6d 65 53 74 61 63 6b |..on res|umeStack|
|00003220| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00003230| 69 6e 64 6f 77 20 62 69 | 6b 65 20 74 68 65 6e 20 |indow bi|ke then |
|00003240| 73 68 6f 77 20 77 69 6e | 64 6f 77 20 62 69 6b 65 |show win|dow bike|
|00003250| 0d 70 61 73 73 20 72 65 | 73 75 6d 65 53 74 61 63 |.pass re|sumeStac|
|00003260| 6b 0d 65 6e 64 20 72 65 | 73 75 6d 65 53 74 61 63 |k.end re|sumeStac|
|00003270| 6b 0d 0d 6f 6e 20 6f 70 | 65 6e 43 61 72 64 0d 66 |k..on op|enCard.f|
|00003280| 72 6f 6e 74 43 68 61 69 | 6e 20 46 61 6c 73 65 0d |rontChai|n False.|
|00003290| 72 65 61 72 43 6c 75 73 | 74 65 72 20 46 61 6c 73 |rearClus|ter Fals|
|000032a0| 65 0d 77 68 65 65 6c 53 | 69 7a 65 20 46 61 6c 73 |e.wheelS|ize Fals|
|000032b0| 65 0d 72 61 6e 67 65 20 | 46 61 6c 73 65 0d 0d 67 |e.range |False..g|
|000032c0| 65 74 20 74 68 65 20 73 | 68 6f 72 74 20 69 64 20 |et the s|hort id |
|000032d0| 6f 66 20 63 61 72 64 20 | 31 20 6f 66 20 62 61 63 |of card |1 of bac|
|000032e0| 6b 67 72 6f 75 6e 64 20 | 22 43 61 6c 63 75 6c 61 |kground |"Calcula|
|000032f0| 74 69 6f 6e 22 0d 73 65 | 74 20 74 68 65 20 76 69 |tion".se|t the vi|
|00003300| 73 69 62 6c 65 20 6f 66 | 20 62 61 63 6b 67 72 6f |sible of| backgro|
|00003310| 75 6e 64 20 62 75 74 74 | 6f 6e 20 22 50 72 65 76 |und butt|on "Prev|
|00003320| 22 20 74 6f 20 c2 0d 74 | 68 65 20 73 68 6f 72 74 |" to ..t|he short|
|00003330| 20 69 64 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 | id of t|his card|
|00003340| 20 ad 20 69 74 0d 67 65 | 74 20 74 68 65 20 73 68 | . it.ge|t the sh|
|00003350| 6f 72 74 20 69 64 20 6f | 66 20 74 68 65 20 6c 61 |ort id o|f the la|
|00003360| 73 74 20 63 61 72 64 20 | 6f 66 20 62 61 63 6b 67 |st card |of backg|
|00003370| 72 6f 75 6e 64 20 22 43 | 61 6c 63 75 6c 61 74 69 |round "C|alculati|
|00003380| 6f 6e 22 0d 73 65 74 20 | 74 68 65 20 76 69 73 69 |on".set |the visi|
|00003390| 62 6c 65 20 6f 66 20 62 | 61 63 6b 67 72 6f 75 6e |ble of b|ackgroun|
|000033a0| 64 20 62 75 74 74 6f 6e | 20 22 4e 65 78 74 22 20 |d button| "Next" |
|000033b0| 74 6f 20 c2 0d 74 68 65 | 20 73 68 6f 72 74 20 69 |to ..the| short i|
|000033c0| 64 20 6f 66 20 74 68 69 | 73 20 63 61 72 64 20 ad |d of thi|s card .|
|000033d0| 20 69 74 0d 0d 65 6e 64 | 20 6f 70 65 6e 43 61 72 | it..end| openCar|
|000033e0| 64 0d 0d 6f 6e 20 73 65 | 74 55 70 0d 67 6c 6f 62 |d..on se|tUp.glob|
|000033f0| 61 6c 20 6e 75 6d 52 69 | 6e 67 73 2c 20 74 6f 70 |al numRi|ngs, top|
|00003400| 2c 20 62 6f 74 74 6f 6d | 2c 20 74 68 65 4f 70 74 |, bottom|, theOpt|
|00003410| 69 6f 6e 2c 20 6d 61 78 | 53 70 65 65 64 73 2c 20 |ion, max|Speeds, |
|00003420| 6d 61 78 52 69 6e 67 73 | 0d 70 75 74 20 74 68 65 |maxRings|.put the|
|00003430| 20 6f 70 74 69 6f 6e 4b | 65 79 20 69 73 20 64 6f | optionK|ey is do|
|00003440| 77 6e 20 69 6e 74 6f 20 | 74 68 65 4f 70 74 69 6f |wn into |theOptio|
|00003450| 6e 0d 67 65 74 20 74 68 | 65 20 73 68 6f 72 74 20 |n.get th|e short |
|00003460| 6e 61 6d 65 20 6f 66 20 | 74 61 72 67 65 74 0d 70 |name of |target.p|
|00003470| 75 74 20 63 68 61 72 20 | 32 20 6f 66 20 69 74 20 |ut char |2 of it |
|00003480| 69 6e 74 6f 20 72 69 6e | 67 0d 70 75 74 20 63 68 |into rin|g.put ch|
|00003490| 61 72 20 33 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |ar 3 of |it into |
|000034a0| 6e 75 6d 0d 67 65 74 20 | 74 68 65 20 73 63 72 65 |num.get |the scre|
|000034b0| 65 6e 52 65 63 74 0d 70 | 75 74 20 69 74 65 6d 20 |enRect.p|ut item |
|000034c0| 31 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 62 6f 74 |1 of it |into bot|
|000034d0| 74 6f 6d 20 2d 2d 20 69 | 6e 69 74 69 61 6c 69 73 |tom -- i|nitialis|
|000034e0| 65 20 74 6f 20 66 61 72 | 20 6c 65 66 74 2f 72 69 |e to far| left/ri|
|000034f0| 67 68 74 0d 70 75 74 20 | 69 74 65 6d 20 33 20 6f |ght.put |item 3 o|
|00003500| 66 20 69 74 20 69 6e 74 | 6f 20 74 6f 70 20 2d 2d |f it int|o top --|
|00003510| 20 74 68 65 73 65 20 67 | 69 76 65 20 6c 69 6d 69 | these g|ive limi|
|00003520| 74 73 20 6f 6e 20 6d 6f | 76 65 6d 65 6e 74 73 20 |ts on mo|vements |
|00003530| 6f 66 20 74 68 65 20 62 | 75 74 74 6f 6e 73 0d 69 |of the b|uttons.i|
|00003540| 66 20 74 68 65 4f 70 74 | 69 6f 6e 20 69 73 20 74 |f theOpt|ion is t|
|00003550| 72 75 65 20 74 68 65 6e | 0d 69 66 20 72 69 6e 67 |rue then|.if ring|
|00003560| 20 3e 20 31 20 74 68 65 | 6e 0d 67 65 74 20 22 70 | > 1 the|n.get "p|
|00003570| 22 26 28 72 69 6e 67 2d | 31 29 26 6e 75 6d 0d 69 |"&(ring-|1)&num.i|
|00003580| 66 20 76 69 73 69 62 6c | 65 20 6f 66 20 63 61 72 |f visibl|e of car|
|00003590| 64 20 62 75 74 74 6f 6e | 20 69 74 20 74 68 65 6e |d button| it then|
|000035a0| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 74 |.put ite|m 1 of t|
|000035b0| 68 65 20 6c 6f 63 20 6f | 66 20 63 61 72 64 20 62 |he loc o|f card b|
|000035c0| 75 74 74 6f 6e 20 69 74 | 20 69 6e 74 6f 20 74 6f |utton it| into to|
|000035d0| 70 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |p.end if|.end if.|
|000035e0| 69 66 20 72 69 6e 67 20 | 3c 20 6d 61 78 52 69 6e |if ring |< maxRin|
|000035f0| 67 73 20 74 68 65 6e 0d | 67 65 74 20 22 70 22 26 |gs then.|get "p"&|
|00003600| 28 72 69 6e 67 2b 31 29 | 26 6e 75 6d 0d 69 66 20 |(ring+1)|&num.if |
|00003610| 76 69 73 69 62 6c 65 20 | 6f 66 20 63 61 72 64 20 |visible |of card |
|00003620| 62 75 74 74 6f 6e 20 69 | 74 20 74 68 65 6e 0d 70 |button i|t then.p|
|00003630| 75 74 20 69 74 65 6d 20 | 31 20 6f 66 20 74 68 65 |ut item |1 of the|
|00003640| 20 6c 6f 63 20 6f 66 20 | 63 61 72 64 20 62 75 74 | loc of |card but|
|00003650| 74 6f 6e 20 69 74 20 69 | 6e 74 6f 20 62 6f 74 74 |ton it i|nto bott|
|00003660| 6f 6d 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |om.end i|f.end if|
|00003670| 0d 65 6c 73 65 0d 69 66 | 20 6e 75 6d 20 3e 20 31 |.else.if| num > 1|
|00003680| 20 74 68 65 6e 0d 67 65 | 74 20 22 70 22 26 72 69 | then.ge|t "p"&ri|
|00003690| 6e 67 26 28 6e 75 6d 2d | 31 29 0d 69 66 20 74 68 |ng&(num-|1).if th|
|000036a0| 65 20 76 69 73 69 62 6c | 65 20 6f 66 20 63 61 72 |e visibl|e of car|
|000036b0| 64 20 62 75 74 74 6f 6e | 20 69 74 20 74 68 65 6e |d button| it then|
|000036c0| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 74 |.put ite|m 1 of t|
|000036d0| 68 65 20 6c 6f 63 20 6f | 66 20 63 61 72 64 20 62 |he loc o|f card b|
|000036e0| 75 74 74 6f 6e 20 69 74 | 20 69 6e 74 6f 20 74 6f |utton it| into to|
|000036f0| 70 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 66 0d |p.end if|.end if.|
|00003700| 69 66 20 6e 75 6d 20 3c | 20 6d 61 78 53 70 65 65 |if num <| maxSpee|
|00003710| 64 73 20 74 68 65 6e 0d | 67 65 74 20 22 70 22 26 |ds then.|get "p"&|
|00003720| 72 69 6e 67 26 28 6e 75 | 6d 2b 31 29 0d 69 66 20 |ring&(nu|m+1).if |
|00003730| 74 68 65 20 76 69 73 69 | 62 6c 65 20 6f 66 20 63 |the visi|ble of c|
|00003740| 61 72 64 20 62 75 74 74 | 6f 6e 20 69 74 20 74 68 |ard butt|on it th|
|00003750| 65 6e 0d 70 75 74 20 69 | 74 65 6d 20 31 20 6f 66 |en.put i|tem 1 of|
|00003760| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 63 61 72 64 | the loc| of card|
|00003770| 20 62 75 74 74 6f 6e 20 | 69 74 20 69 6e 74 6f 20 | button |it into |
|00003780| 62 6f 74 74 6f 6d 0d 65 | 6e 64 20 69 66 0d 65 6e |bottom.e|nd if.en|
|00003790| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |d if.end| if.end |
|000037a0| 73 65 74 55 70 0d 0d 6f | 6e 20 75 70 64 61 74 65 |setUp..o|n update|
|000037b0| 0d 67 6c 6f 62 61 6c 20 | 6e 75 6d 52 69 6e 67 73 |.global |numRings|
|000037c0| 2c 20 77 68 65 65 6c 44 | 69 61 6d 2c 20 70 69 78 |, wheelD|iam, pix|
|000037d0| 65 6c 73 50 65 72 4c 6f | 67 2c 20 66 61 72 4c 65 |elsPerLo|g, farLe|
|000037e0| 66 74 2c 20 6c 6f 77 65 | 72 2c 20 6c 6e 5f 6c 6f |ft, lowe|r, ln_lo|
|000037f0| 77 65 72 2c c2 0d 74 6f | 70 2c 20 62 6f 74 74 6f |wer,..to|p, botto|
|00003800| 6d 2c 20 6e 75 6d 53 70 | 65 65 64 73 2c 20 74 68 |m, numSp|eeds, th|
|00003810| 65 4f 70 74 69 6f 6e 2c | 20 6c 6e 5f 31 30 0d 70 |eOption,| ln_10.p|
|00003820| 75 74 20 63 68 61 72 20 | 32 20 6f 66 20 74 68 65 |ut char |2 of the|
|00003830| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00003840| 61 72 67 65 74 20 69 6e | 74 6f 20 72 69 6e 67 0d |arget in|to ring.|
|00003850| 70 75 74 20 63 68 61 72 | 20 33 20 6f 66 20 74 68 |put char| 3 of th|
|00003860| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00003870| 74 61 72 67 65 74 20 69 | 6e 74 6f 20 6e 75 6d 0d |target i|nto num.|
|00003880| 67 65 74 20 74 68 65 20 | 6d 6f 75 73 65 48 0d 69 |get the |mouseH.i|
|00003890| 66 20 69 74 20 3e 3d 20 | 74 6f 70 0d 74 68 65 6e |f it >= |top.then|
|000038a0| 20 70 75 74 20 74 6f 70 | 20 69 6e 74 6f 20 74 68 | put top| into th|
|000038b0| 65 50 6f 73 69 74 69 6f | 6e 0d 65 6c 73 65 20 69 |ePositio|n.else i|
|000038c0| 66 20 69 74 20 3c 3d 20 | 62 6f 74 74 6f 6d 0d 74 |f it <= |bottom.t|
|000038d0| 68 65 6e 20 70 75 74 20 | 62 6f 74 74 6f 6d 20 69 |hen put |bottom i|
|000038e0| 6e 74 6f 20 74 68 65 50 | 6f 73 69 74 69 6f 6e 0d |nto theP|osition.|
|000038f0| 65 6c 73 65 20 70 75 74 | 20 69 74 20 69 6e 74 6f |else put| it into|
|00003900| 20 74 68 65 50 6f 73 69 | 74 69 6f 6e 0d 69 66 20 | thePosi|tion.if |
|00003910| 74 68 65 4f 70 74 69 6f | 6e 20 69 73 20 74 72 75 |theOptio|n is tru|
|00003920| 65 20 74 68 65 6e 0d 70 | 75 74 20 28 74 68 65 50 |e then.p|ut (theP|
|00003930| 6f 73 69 74 69 6f 6e 2d | 66 61 72 4c 65 66 74 29 |osition-|farLeft)|
|00003940| 2f 70 69 78 65 6c 73 50 | 65 72 4c 6f 67 20 2b 20 |/pixelsP|erLog + |
|00003950| 6c 6e 5f 6c 6f 77 65 72 | 20 2b 20 6c 6e 5f 31 30 |ln_lower| + ln_10|
|00003960| 20 69 6e 74 6f 20 68 6f | 6c 64 65 72 0d 70 75 74 | into ho|lder.put|
|00003970| 20 72 6f 75 6e 64 28 65 | 78 70 28 68 6f 6c 64 65 | round(e|xp(holde|
|00003980| 72 29 2a 63 61 72 64 20 | 66 69 65 6c 64 20 28 22 |r)*card |field ("|
|00003990| 72 22 26 6e 75 6d 29 2f | 77 68 65 65 6c 44 69 61 |r"&num)/|wheelDia|
|000039a0| 6d 29 20 69 6e 74 6f 20 | 6e 65 77 54 6f 6f 74 68 |m) into |newTooth|
|000039b0| 0d 67 65 74 20 22 66 22 | 26 72 69 6e 67 0d 65 6c |.get "f"|&ring.el|
|000039c0| 73 65 0d 70 75 74 20 28 | 74 68 65 50 6f 73 69 74 |se.put (|thePosit|
|000039d0| 69 6f 6e 2d 66 61 72 4c | 65 66 74 29 2f 70 69 78 |ion-farL|eft)/pix|
|000039e0| 65 6c 73 50 65 72 4c 6f | 67 20 2b 20 6c 6e 5f 6c |elsPerLo|g + ln_l|
|000039f0| 6f 77 65 72 20 2b 20 6c | 6e 5f 31 30 20 69 6e 74 |ower + l|n_10 int|
|00003a00| 6f 20 68 6f 6c 64 65 72 | 0d 70 75 74 20 72 6f 75 |o holder|.put rou|
|00003a10| 6e 64 28 28 77 68 65 65 | 6c 44 69 61 6d 2a 63 61 |nd((whee|lDiam*ca|
|00003a20| 72 64 20 66 69 65 6c 64 | 20 28 22 66 22 26 72 69 |rd field| ("f"&ri|
|00003a30| 6e 67 29 2f 65 78 70 28 | 68 6f 6c 64 65 72 29 29 |ng)/exp(|holder))|
|00003a40| 29 20 69 6e 74 6f 20 6e | 65 77 54 6f 6f 74 68 0d |) into n|ewTooth.|
|00003a50| 67 65 74 20 22 72 22 26 | 6e 75 6d 0d 65 6e 64 20 |get "r"&|num.end |
|00003a60| 69 66 0d 69 66 20 6e 65 | 77 54 6f 6f 74 68 20 3c |if.if ne|wTooth <|
|00003a70| 3e 20 63 61 72 64 20 66 | 69 65 6c 64 20 69 74 20 |> card f|ield it |
|00003a80| 74 68 65 6e 0d 70 75 74 | 20 6e 65 77 54 6f 6f 74 |then.put| newToot|
|00003a90| 68 20 69 6e 74 6f 20 63 | 61 72 64 20 66 69 65 6c |h into c|ard fiel|
|00003aa0| 64 20 69 74 0d 63 61 6c | 63 75 6c 61 74 65 20 46 |d it.cal|culate F|
|00003ab0| 61 6c 73 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |alse.end| if.end |
|00003ac0| 75 70 64 61 74 65 0d 0d | 6f 6e 20 48 69 64 65 49 |update..|on HideI|
|00003ad0| 6e 64 69 63 61 74 6f 72 | 20 69 6e 64 69 63 61 74 |ndicator| indicat|
|00003ae0| 6f 72 0d 68 69 64 65 20 | 63 61 72 64 20 62 75 74 |or.hide |card but|
|00003af0| 74 6f 6e 20 69 6e 64 69 | 63 61 74 6f 72 0d 65 6e |ton indi|cator.en|
|00003b00| 64 20 48 69 64 65 49 6e | 64 69 63 61 74 6f 72 0d |d HideIn|dicator.|
|00003b10| 0d 6f 6e 20 4d 6f 76 65 | 49 6e 64 69 63 61 74 6f |.on Move|Indicato|
|00003b20| 72 20 69 6e 64 69 63 61 | 74 6f 72 2c 20 72 69 6e |r indica|tor, rin|
|00003b30| 67 2c 20 61 6c 6f 6e 67 | 0d 67 6c 6f 62 61 6c 20 |g, along|.global |
|00003b40| 66 61 72 4c 65 66 74 2c | 20 62 61 73 65 4c 6f 63 |farLeft,| baseLoc|
|00003b50| 0d 70 75 74 20 66 61 72 | 4c 65 66 74 20 2b 20 61 |.put far|Left + a|
|00003b60| 6c 6f 6e 67 20 69 6e 74 | 6f 20 68 6f 6c 64 65 72 |long int|o holder|
|00003b70| 0d 70 75 74 20 69 74 65 | 6d 20 72 69 6e 67 20 6f |.put ite|m ring o|
|00003b80| 66 20 62 61 73 65 4c 6f | 63 20 69 6e 74 6f 20 69 |f baseLo|c into i|
|00003b90| 74 65 6d 20 32 20 6f 66 | 20 68 6f 6c 64 65 72 0d |tem 2 of| holder.|
|00003ba0| 69 66 20 6c 6f 63 20 6f | 66 20 63 61 72 64 20 62 |if loc o|f card b|
|00003bb0| 75 74 74 6f 6e 20 69 6e | 64 69 63 61 74 6f 72 20 |utton in|dicator |
|00003bc0| 69 73 20 6e 6f 74 20 68 | 6f 6c 64 65 72 20 74 68 |is not h|older th|
|00003bd0| 65 6e 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 20 6f |en.set t|he loc o|
|00003be0| 66 20 63 61 72 64 20 62 | 75 74 74 6f 6e 20 69 6e |f card b|utton in|
|00003bf0| 64 69 63 61 74 6f 72 20 | 74 6f 20 68 6f 6c 64 65 |dicator |to holde|
|00003c00| 72 0d 65 6e 64 20 69 66 | 0d 73 68 6f 77 20 63 61 |r.end if|.show ca|
|00003c10| 72 64 20 62 75 74 74 6f | 6e 20 69 6e 64 69 63 61 |rd butto|n indica|
|00003c20| 74 6f 72 0d 65 6e 64 20 | 4d 6f 76 65 49 6e 64 69 |tor.end |MoveIndi|
|00003c30| 63 61 74 6f 72 0d 0d 6f | 6e 20 73 65 74 52 61 74 |cator..o|n setRat|
|00003c40| 69 6f 20 76 61 6c 75 65 | 2c 20 72 69 6e 67 2c 20 |io value|, ring, |
|00003c50| 73 70 65 65 64 0d 67 6c | 6f 62 61 6c 20 6c 6e 5f |speed.gl|obal ln_|
|00003c60| 6c 6f 77 65 72 2c 20 6c | 6e 5f 31 30 2c 20 70 69 |lower, l|n_10, pi|
|00003c70| 78 65 6c 73 50 65 72 4c | 6f 67 0d 69 66 20 76 61 |xelsPerL|og.if va|
|00003c80| 6c 75 65 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |lue is e|mpty the|
|00003c90| 6e 0d 48 69 64 65 49 6e | 64 69 63 61 74 6f 72 20 |n.HideIn|dicator |
|00003ca0| 22 70 22 26 72 69 6e 67 | 26 73 70 65 65 64 0d 70 |"p"&ring|&speed.p|
|00003cb0| 75 74 20 22 2a 22 20 69 | 6e 74 6f 20 63 61 72 64 |ut "*" i|nto card|
|00003cc0| 20 66 69 65 6c 64 20 28 | 22 4c 22 26 72 69 6e 67 | field (|"L"&ring|
|00003cd0| 26 73 70 65 65 64 29 0d | 65 6c 73 65 0d 70 75 74 |&speed).|else.put|
|00003ce0| 20 72 6f 75 6e 64 28 76 | 61 6c 75 65 29 20 69 6e | round(v|alue) in|
|00003cf0| 74 6f 20 63 61 72 64 20 | 66 69 65 6c 64 20 28 22 |to card |field ("|
|00003d00| 4c 22 26 72 69 6e 67 26 | 73 70 65 65 64 29 0d 4d |L"&ring&|speed).M|
|00003d10| 6f 76 65 49 6e 64 69 63 | 61 74 6f 72 20 22 70 22 |oveIndic|ator "p"|
|00003d20| 26 72 69 6e 67 26 73 70 | 65 65 64 2c 20 72 69 6e |&ring&sp|eed, rin|
|00003d30| 67 2c 20 c2 0d 72 6f 75 | 6e 64 28 28 6c 6e 28 76 |g, ..rou|nd((ln(v|
|00003d40| 61 6c 75 65 29 2d 6c 6e | 5f 31 30 2d 6c 6e 5f 6c |alue)-ln|_10-ln_l|
|00003d50| 6f 77 65 72 29 2a 70 69 | 78 65 6c 73 50 65 72 4c |ower)*pi|xelsPerL|
|00003d60| 6f 67 29 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 73 |og).end |if.end s|
|00003d70| 65 74 52 61 74 69 6f 0d | 0d 6f 6e 20 63 61 6c 63 |etRatio.|.on calc|
|00003d80| 5f 72 69 6e 67 20 72 69 | 6e 67 2c 20 6b 65 65 70 |_ring ri|ng, keep|
|00003d90| 43 75 72 73 6f 72 0d 67 | 6c 6f 62 61 6c 20 6e 75 |Cursor.g|lobal nu|
|00003da0| 6d 53 70 65 65 64 73 2c | 20 77 68 65 65 6c 44 69 |mSpeeds,| wheelDi|
|00003db0| 61 6d 0d 70 75 74 20 63 | 61 72 64 20 66 69 65 6c |am.put c|ard fiel|
|00003dc0| 64 20 28 22 66 22 26 72 | 69 6e 67 29 20 69 6e 74 |d ("f"&r|ing) int|
|00003dd0| 6f 20 66 72 6f 6e 74 0d | 72 65 70 65 61 74 20 77 |o front.|repeat w|
|00003de0| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6e 75 6d |ith i = |1 to num|
|00003df0| 53 70 65 65 64 73 0d 69 | 66 20 6f 70 74 54 72 75 |Speeds.i|f optTru|
|00003e00| 65 28 6b 65 65 70 43 75 | 72 73 6f 72 29 20 74 68 |e(keepCu|rsor) th|
|00003e10| 65 6e 20 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |en set c|ursor to|
|00003e20| 20 62 75 73 79 0d 70 75 | 74 20 63 61 72 64 20 66 | busy.pu|t card f|
|00003e30| 69 65 6c 64 20 28 22 72 | 22 26 69 29 20 69 6e 74 |ield ("r|"&i) int|
|00003e40| 6f 20 72 65 61 72 0d 69 | 66 20 72 65 61 72 20 69 |o rear.i|f rear i|
|00003e50| 73 20 65 6d 70 74 79 20 | 6f 72 20 66 72 6f 6e 74 |s empty |or front|
|00003e60| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 67 | is empt|y then g|
|00003e70| 65 74 20 65 6d 70 74 79 | 0d 65 6c 73 65 20 67 65 |et empty|.else ge|
|00003e80| 74 20 66 72 6f 6e 74 2f | 72 65 61 72 2a 77 68 65 |t front/|rear*whe|
|00003e90| 65 6c 44 69 61 6d 0d 73 | 65 74 52 61 74 69 6f 20 |elDiam.s|etRatio |
|00003ea0| 69 74 2c 20 72 69 6e 67 | 2c 20 69 0d 65 6e 64 20 |it, ring|, i.end |
|00003eb0| 72 65 70 65 61 74 0d 65 | 6e 64 20 63 61 6c 63 5f |repeat.e|nd calc_|
|00003ec0| 72 69 6e 67 0d 0d 6f 6e | 20 63 61 6c 63 5f 73 70 |ring..on| calc_sp|
|00003ed0| 65 65 64 20 73 70 65 65 | 64 2c 20 6b 65 65 70 43 |eed spee|d, keepC|
|00003ee0| 75 72 73 6f 72 0d 67 6c | 6f 62 61 6c 20 6e 75 6d |ursor.gl|obal num|
|00003ef0| 52 69 6e 67 73 2c 20 77 | 68 65 65 6c 44 69 61 6d |Rings, w|heelDiam|
|00003f00| 0d 67 65 74 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |.get the| name of|
|00003f10| 20 74 68 65 20 74 61 72 | 67 65 74 0d 70 75 74 20 | the tar|get.put |
|00003f20| 63 61 72 64 20 66 69 65 | 6c 64 20 28 22 72 22 26 |card fie|ld ("r"&|
|00003f30| 73 70 65 65 64 29 20 69 | 6e 74 6f 20 72 65 61 72 |speed) i|nto rear|
|00003f40| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00003f50| 20 31 20 74 6f 20 6e 75 | 6d 52 69 6e 67 73 0d 69 | 1 to nu|mRings.i|
|00003f60| 66 20 6f 70 74 54 72 75 | 65 28 6b 65 65 70 43 75 |f optTru|e(keepCu|
|00003f70| 72 73 6f 72 29 20 74 68 | 65 6e 20 73 65 74 20 63 |rsor) th|en set c|
|00003f80| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 70 75 |ursor to| busy.pu|
|00003f90| 74 20 63 61 72 64 20 66 | 69 65 6c 64 20 28 22 66 |t card f|ield ("f|
|00003fa0| 22 26 69 29 20 69 6e 74 | 6f 20 66 72 6f 6e 74 0d |"&i) int|o front.|
|00003fb0| 69 66 20 72 65 61 72 20 | 69 73 20 65 6d 70 74 79 |if rear |is empty|
|00003fc0| 20 6f 72 20 66 72 6f 6e | 74 20 69 73 20 65 6d 70 | or fron|t is emp|
|00003fd0| 74 79 20 74 68 65 6e 20 | 67 65 74 20 65 6d 70 74 |ty then |get empt|
|00003fe0| 79 0d 65 6c 73 65 20 67 | 65 74 20 66 72 6f 6e 74 |y.else g|et front|
|00003ff0| 2f 72 65 61 72 2a 77 68 | 65 65 6c 44 69 61 6d 0d |/rear*wh|eelDiam.|
|00004000| 73 65 74 52 61 74 69 6f | 20 69 74 2c 20 69 2c 20 |setRatio| it, i, |
|00004010| 73 70 65 65 64 0d 65 6e | 64 20 72 65 70 65 61 74 |speed.en|d repeat|
|00004020| 0d 65 6e 64 20 63 61 6c | 63 5f 73 70 65 65 64 0d |.end cal|c_speed.|
|00004030| 0d 6f 6e 20 63 61 6c 63 | 75 6c 61 74 65 20 6b 65 |.on calc|ulate ke|
|00004040| 65 70 43 75 72 73 6f 72 | 0d 67 6c 6f 62 61 6c 20 |epCursor|.global |
|00004050| 6e 75 6d 52 69 6e 67 73 | 2c 20 74 68 65 4f 70 74 |numRings|, theOpt|
|00004060| 69 6f 6e 0d 0d 2d 2d 20 | 6c 6f 6f 6b 20 66 6f 72 |ion..-- |look for|
|00004070| 20 6b 6e 6f 77 6e 20 62 | 75 74 74 6f 6e 73 2c 20 | known b|uttons, |
|00004080| 74 68 61 74 20 61 6c 6c | 6f 77 20 6f 6e 6c 79 20 |that all|ow only |
|00004090| 61 20 73 75 62 73 65 74 | 20 6f 66 20 6f 76 65 72 |a subset| of over|
|000040a0| 61 6c 6c 20 74 6f 20 62 | 65 20 64 6f 6e 65 0d 67 |all to b|e done.g|
|000040b0| 65 74 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |et the s|hort nam|
|000040c0| 65 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 0d |e of the| target.|
|000040d0| 0d 69 66 20 74 68 65 20 | 6c 65 6e 67 74 68 20 6f |.if the |length o|
|000040e0| 66 20 69 74 20 69 73 20 | 32 20 61 6e 64 20 63 68 |f it is |2 and ch|
|000040f0| 61 72 20 31 20 6f 66 20 | 69 74 20 69 73 20 22 72 |ar 1 of |it is "r|
|00004100| 22 20 74 68 65 6e 0d 2d | 2d 20 65 78 70 6c 69 63 |" then.-|- explic|
|00004110| 69 74 20 66 72 65 65 77 | 68 65 65 6c 20 63 68 61 |it freew|heel cha|
|00004120| 6e 67 65 0d 63 61 6c 63 | 5f 73 70 65 65 64 20 63 |nge.calc|_speed c|
|00004130| 68 61 72 20 32 20 6f 66 | 20 69 74 2c 20 6b 65 65 |har 2 of| it, kee|
|00004140| 70 43 75 72 73 6f 72 0d | 65 6c 73 65 20 69 66 20 |pCursor.|else if |
|00004150| 74 68 65 20 6c 65 6e 67 | 74 68 20 6f 66 20 69 74 |the leng|th of it|
|00004160| 20 69 73 20 32 20 61 6e | 64 20 63 68 61 72 20 31 | is 2 an|d char 1|
|00004170| 20 6f 66 20 69 74 20 69 | 73 20 22 66 22 20 74 68 | of it i|s "f" th|
|00004180| 65 6e 0d 2d 2d 20 65 78 | 70 6c 69 63 69 74 20 63 |en.-- ex|plicit c|
|00004190| 68 61 69 6e 77 68 65 65 | 6c 20 63 68 61 6e 67 65 |hainwhee|l change|
|000041a0| 0d 63 61 6c 63 5f 72 69 | 6e 67 20 63 68 61 72 20 |.calc_ri|ng char |
|000041b0| 32 20 6f 66 20 69 74 2c | 20 6b 65 65 70 43 75 72 |2 of it,| keepCur|
|000041c0| 73 6f 72 0d 65 6c 73 65 | 20 69 66 20 74 68 65 20 |sor.else| if the |
|000041d0| 6c 65 6e 67 74 68 20 6f | 66 20 69 74 20 69 73 20 |length o|f it is |
|000041e0| 33 20 61 6e 64 20 63 68 | 61 72 20 31 20 6f 66 20 |3 and ch|ar 1 of |
|000041f0| 69 74 20 69 73 20 22 70 | 22 20 74 68 65 6e 0d 2d |it is "p|" then.-|
|00004200| 2d 20 6d 6f 76 65 64 20 | 62 61 72 20 69 6e 64 69 |- moved |bar indi|
|00004210| 63 61 74 6f 72 0d 69 66 | 20 74 68 65 4f 70 74 69 |cator.if| theOpti|
|00004220| 6f 6e 20 74 68 65 6e 20 | 63 61 6c 63 5f 72 69 6e |on then |calc_rin|
|00004230| 67 20 63 68 61 72 20 32 | 20 6f 66 20 69 74 2c 20 |g char 2| of it, |
|00004240| 6b 65 65 70 43 75 72 73 | 6f 72 0d 65 6c 73 65 20 |keepCurs|or.else |
|00004250| 63 61 6c 63 5f 73 70 65 | 65 64 20 63 68 61 72 20 |calc_spe|ed char |
|00004260| 33 20 6f 66 20 69 74 2c | 20 6b 65 65 70 43 75 72 |3 of it,| keepCur|
|00004270| 73 6f 72 0d 65 6c 73 65 | 20 2d 2d 20 67 65 6e 65 |sor.else| -- gene|
|00004280| 72 61 6c 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |ral.repe|at with |
|00004290| 69 20 3d 20 31 20 74 6f | 20 6e 75 6d 52 69 6e 67 |i = 1 to| numRing|
|000042a0| 73 0d 63 61 6c 63 5f 72 | 69 6e 67 20 69 2c 20 6b |s.calc_r|ing i, k|
|000042b0| 65 65 70 43 75 72 73 6f | 72 0d 65 6e 64 20 72 65 |eepCurso|r.end re|
|000042c0| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 0d 77 72 61 |peat.end| if..wra|
|000042d0| 70 53 74 61 74 73 0d 65 | 6e 64 20 63 61 6c 63 75 |pStats.e|nd calcu|
|000042e0| 6c 61 74 65 0d 0d 6f 6e | 20 61 75 74 6f 5f 63 61 |late..on| auto_ca|
|000042f0| 6c 63 0d 2d 2d 20 63 61 | 6c 63 75 6c 61 74 65 20 |lc.-- ca|lculate |
|00004300| 69 66 20 22 61 75 74 6f | 20 63 61 6c 63 75 6c 61 |if "auto| calcula|
|00004310| 74 69 6f 6e 22 20 69 73 | 20 6f 6e 0d 69 66 20 68 |tion" is| on.if h|
|00004320| 69 6c 69 74 65 20 6f 66 | 20 62 61 63 6b 67 72 6f |ilite of| backgro|
|00004330| 75 6e 64 20 62 75 74 74 | 6f 6e 20 22 61 75 74 6f |und butt|on "auto|
|00004340| 20 63 61 6c 63 75 6c 61 | 74 69 6f 6e 22 20 74 68 | calcula|tion" th|
|00004350| 65 6e 20 63 61 6c 63 75 | 6c 61 74 65 0d 65 6e 64 |en calcu|late.end|
|00004360| 20 61 75 74 6f 5f 63 61 | 6c 63 0d 0d 6f 6e 20 52 | auto_ca|lc..on R|
|00004370| 65 74 75 72 6e 49 6e 46 | 69 65 6c 64 0d 73 65 6e |eturnInF|ield.sen|
|00004380| 64 20 43 6c 6f 73 65 46 | 69 65 6c 64 20 74 6f 20 |d CloseF|ield to |
|00004390| 74 61 72 67 65 74 0d 65 | 6e 64 20 52 65 74 75 72 |target.e|nd Retur|
|000043a0| 6e 49 6e 46 69 65 6c 64 | 0d 0d 6f 6e 20 45 6e 74 |nInField|..on Ent|
|000043b0| 65 72 49 6e 46 69 65 6c | 64 0d 73 65 6e 64 20 43 |erInFiel|d.send C|
|000043c0| 6c 6f 73 65 46 69 65 6c | 64 20 74 6f 20 74 61 72 |loseFiel|d to tar|
|000043d0| 67 65 74 0d 65 6e 64 20 | 45 6e 74 65 72 49 6e 46 |get.end |EnterInF|
|000043e0| 69 65 6c 64 0d 0d 6f 6e | 20 77 72 61 70 53 74 61 |ield..on| wrapSta|
|000043f0| 74 73 0d 67 6c 6f 62 61 | 6c 20 6e 75 6d 52 69 6e |ts.globa|l numRin|
|00004400| 67 73 2c 20 6e 75 6d 53 | 70 65 65 64 73 0d 70 75 |gs, numS|peeds.pu|
|00004410| 74 20 63 61 72 64 20 66 | 69 65 6c 64 20 22 66 31 |t card f|ield "f1|
|00004420| 22 20 69 6e 74 6f 20 74 | 6f 70 46 72 6f 6e 74 0d |" into t|opFront.|
|00004430| 70 75 74 20 63 61 72 64 | 20 66 69 65 6c 64 20 28 |put card| field (|
|00004440| 22 66 22 26 6e 75 6d 52 | 69 6e 67 73 29 20 69 6e |"f"&numR|ings) in|
|00004450| 74 6f 20 62 6f 74 74 6f | 6d 46 72 6f 6e 74 0d 70 |to botto|mFront.p|
|00004460| 75 74 20 63 61 72 64 20 | 66 69 65 6c 64 20 28 22 |ut card |field ("|
|00004470| 72 22 26 6e 75 6d 53 70 | 65 65 64 73 29 20 69 6e |r"&numSp|eeds) in|
|00004480| 74 6f 20 6c 61 72 67 65 | 73 74 0d 70 75 74 20 63 |to large|st.put c|
|00004490| 61 72 64 20 66 69 65 6c | 64 20 22 72 31 22 20 69 |ard fiel|d "r1" i|
|000044a0| 6e 74 6f 20 73 6d 61 6c | 6c 65 73 74 0d 70 75 74 |nto smal|lest.put|
|000044b0| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 66 72 6f 6e | empty i|nto fron|
|000044c0| 74 44 69 66 66 0d 70 75 | 74 20 65 6d 70 74 79 20 |tDiff.pu|t empty |
|000044d0| 69 6e 74 6f 20 63 68 61 | 69 6e 57 72 61 70 0d 69 |into cha|inWrap.i|
|000044e0| 66 20 74 6f 70 46 72 6f | 6e 74 20 69 73 20 6e 6f |f topFro|nt is no|
|000044f0| 74 20 65 6d 70 74 79 20 | 61 6e 64 20 62 6f 74 74 |t empty |and bott|
|00004500| 6f 6d 46 72 6f 6e 74 20 | 69 73 20 6e 6f 74 20 65 |omFront |is not e|
|00004510| 6d 70 74 79 20 74 68 65 | 6e 0d 70 75 74 20 74 6f |mpty the|n.put to|
|00004520| 70 46 72 6f 6e 74 20 2d | 20 62 6f 74 74 6f 6d 46 |pFront -| bottomF|
|00004530| 72 6f 6e 74 20 69 6e 74 | 6f 20 66 72 6f 6e 74 44 |ront int|o frontD|
|00004540| 69 66 66 0d 0d 69 66 20 | 6c 61 72 67 65 73 74 20 |iff..if |largest |
|00004550| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 61 6e 64 |is not e|mpty and|
|00004560| 20 73 6d 61 6c 6c 65 73 | 74 20 69 73 20 6e 6f 74 | smalles|t is not|
|00004570| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 74 20 | empty t|hen.put |
|00004580| 6c 61 72 67 65 73 74 20 | 2d 20 73 6d 61 6c 6c 65 |largest |- smalle|
|00004590| 73 74 20 2b 20 66 72 6f | 6e 74 44 69 66 66 20 69 |st + fro|ntDiff i|
|000045a0| 6e 74 6f 20 63 68 61 69 | 6e 57 72 61 70 0d 65 6e |nto chai|nWrap.en|
|000045b0| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 0d 69 66 20 |d if.end| if..if |
|000045c0| 66 72 6f 6e 74 44 69 66 | 66 20 69 73 20 6e 6f 74 |frontDif|f is not|
|000045d0| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 74 20 | empty t|hen.put |
|000045e0| 22 46 72 6f 6e 74 20 44 | 69 66 66 65 72 65 6e 74 |"Front D|ifferent|
|000045f0| 69 61 6c 3a 20 22 20 62 | 65 66 6f 72 65 20 66 72 |ial: " b|efore fr|
|00004600| 6f 6e 74 44 69 66 66 0d | 65 6e 64 20 69 66 0d 0d |ontDiff.|end if..|
|00004610| 69 66 20 63 68 61 69 6e | 57 72 61 70 20 69 73 20 |if chain|Wrap is |
|00004620| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 |not empt|y then.p|
|00004630| 75 74 20 22 43 68 61 69 | 6e 20 57 72 61 70 3a 20 |ut "Chai|n Wrap: |
|00004640| 22 20 62 65 66 6f 72 65 | 20 63 68 61 69 6e 57 72 |" before| chainWr|
|00004650| 61 70 0d 65 6e 64 20 69 | 66 0d 0d 70 75 74 20 66 |ap.end i|f..put f|
|00004660| 72 6f 6e 74 44 69 66 66 | 20 69 6e 74 6f 20 66 69 |rontDiff| into fi|
|00004670| 65 6c 64 20 22 66 72 6f | 6e 74 44 69 66 66 65 72 |eld "fro|ntDiffer|
|00004680| 65 6e 74 69 61 6c 22 0d | 70 75 74 20 63 68 61 69 |ential".|put chai|
|00004690| 6e 57 72 61 70 20 69 6e | 74 6f 20 66 69 65 6c 64 |nWrap in|to field|
|000046a0| 20 22 63 68 61 69 6e 57 | 72 61 70 22 0d 65 6e 64 | "chainW|rap".end|
|000046b0| 20 77 72 61 70 53 74 61 | 74 73 0d 0d 6f 6e 20 63 | wrapSta|ts..on c|
|000046c0| 6c 6f 73 65 46 69 65 6c | 64 0d 61 75 74 6f 5f 63 |loseFiel|d.auto_c|
|000046d0| 61 6c 63 0d 65 6e 64 20 | 63 6c 6f 73 65 46 69 65 |alc.end |closeFie|
|000046e0| 6c 64 0d 0d 6f 6e 20 73 | 65 74 76 69 73 20 6e 61 |ld..on s|etvis na|
|000046f0| 6d 65 2c 20 77 61 6e 74 | 65 64 0d 2d 2d 20 70 75 |me, want|ed.-- pu|
|00004700| 74 20 74 68 65 20 6c 6f | 6e 67 20 69 64 20 6f 66 |t the lo|ng id of|
|00004710| 20 63 61 72 64 20 66 69 | 65 6c 64 20 6e 61 6d 65 | card fi|eld name|
|00004720| 20 69 6e 74 6f 20 6f 62 | 6a 20 2d 2d 20 75 6e 77 | into ob|j -- unw|
|00004730| 6f 72 6b 69 6e 67 20 73 | 70 65 65 64 75 70 21 0d |orking s|peedup!.|
|00004740| 67 65 74 20 76 69 73 69 | 62 6c 65 20 6f 66 20 63 |get visi|ble of c|
|00004750| 61 72 64 20 66 69 65 6c | 64 20 6e 61 6d 65 0d 69 |ard fiel|d name.i|
|00004760| 66 20 69 74 20 ad 20 77 | 61 6e 74 65 64 20 74 68 |f it . w|anted th|
|00004770| 65 6e 0d 69 66 20 69 74 | 20 74 68 65 6e 0d 68 69 |en.if it| then.hi|
|00004780| 64 65 20 63 61 72 64 20 | 66 69 65 6c 64 20 6e 61 |de card |field na|
|00004790| 6d 65 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |me.put e|mpty int|
|000047a0| 6f 20 63 61 72 64 20 66 | 69 65 6c 64 20 6e 61 6d |o card f|ield nam|
|000047b0| 65 0d 65 6c 73 65 20 73 | 68 6f 77 20 63 61 72 64 |e.else s|how card|
|000047c0| 20 66 69 65 6c 64 20 6e | 61 6d 65 0d 65 6e 64 20 | field n|ame.end |
|000047d0| 69 66 0d 65 6e 64 20 73 | 65 74 76 69 73 0d 0d 6f |if.end s|etvis..o|
|000047e0| 6e 20 64 6f 44 72 61 67 | 20 72 65 63 74 0d 64 72 |n doDrag| rect.dr|
|000047f0| 61 67 20 66 72 6f 6d 20 | 28 69 74 65 6d 20 31 20 |ag from |(item 1 |
|00004800| 74 6f 20 32 20 6f 66 20 | 72 65 63 74 29 20 74 6f |to 2 of |rect) to|
|00004810| 20 28 69 74 65 6d 20 33 | 20 74 6f 20 34 20 6f 66 | (item 3| to 4 of|
|00004820| 20 72 65 63 74 29 0d 65 | 6e 64 20 64 6f 44 72 61 | rect).e|nd doDra|
|00004830| 67 0d 0d 6f 6e 20 46 69 | 6c 6c 52 65 63 74 20 72 |g..on Fi|llRect r|
|00004840| 65 63 74 2c 20 70 61 74 | 74 65 72 6e 0d 69 66 20 |ect, pat|tern.if |
|00004850| 70 61 74 74 65 72 6e 20 | 69 73 20 65 6d 70 74 79 |pattern |is empty|
|00004860| 20 74 68 65 6e 20 70 75 | 74 20 31 20 69 6e 74 6f | then pu|t 1 into|
|00004870| 20 70 61 74 74 65 72 6e | 20 2d 2d 20 64 65 66 61 | pattern| -- defa|
|00004880| 75 6c 74 20 77 68 69 74 | 65 0d 63 68 6f 6f 73 65 |ult whit|e.choose|
|00004890| 20 73 65 6c 65 63 74 20 | 74 6f 6f 6c 0d 64 6f 44 | select |tool.doD|
|000048a0| 72 61 67 20 72 65 63 74 | 0d 73 65 74 20 70 61 74 |rag rect|.set pat|
|000048b0| 74 65 72 6e 20 74 6f 20 | 70 61 74 74 65 72 6e 0d |tern to |pattern.|
|000048c0| 64 6f 4d 65 6e 75 20 66 | 69 6c 6c 0d 65 6e 64 20 |doMenu f|ill.end |
|000048d0| 46 69 6c 6c 52 65 63 74 | 0d 0d 6f 6e 20 53 68 61 |FillRect|..on Sha|
|000048e0| 64 6f 77 42 6f 78 20 62 | 6f 78 2c 20 70 61 74 74 |dowBox b|ox, patt|
|000048f0| 65 72 6e 0d 69 66 20 70 | 61 74 74 65 72 6e 20 69 |ern.if p|attern i|
|00004900| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00004910| 20 46 69 6c 6c 52 65 63 | 74 20 62 6f 78 2c 20 70 | FillRec|t box, p|
|00004920| 61 74 74 65 72 6e 0d 63 | 68 6f 6f 73 65 20 72 65 |attern.c|hoose re|
|00004930| 63 74 20 74 6f 6f 6c 0d | 64 6f 44 72 61 67 20 62 |ct tool.|doDrag b|
|00004940| 6f 78 0d 63 68 6f 6f 73 | 65 20 6c 69 6e 65 20 74 |ox.choos|e line t|
|00004950| 6f 6f 6c 0d 2d 2d 20 62 | 6f 74 74 6f 6d 20 6c 69 |ool.-- b|ottom li|
|00004960| 6e 65 0d 67 65 74 20 62 | 6f 78 0d 70 75 74 20 69 |ne.get b|ox.put i|
|00004970| 74 20 69 6e 74 6f 20 6c | 69 6e 65 31 0d 70 75 74 |t into l|ine1.put|
|00004980| 20 69 74 65 6d 20 34 20 | 6f 66 20 69 74 20 69 6e | item 4 |of it in|
|00004990| 74 6f 20 69 74 65 6d 20 | 32 20 6f 66 20 6c 69 6e |to item |2 of lin|
|000049a0| 65 31 0d 2d 2d 20 72 69 | 67 68 74 20 6c 69 6e 65 |e1.-- ri|ght line|
|000049b0| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 6c 69 6e |.put it |into lin|
|000049c0| 65 32 0d 70 75 74 20 69 | 74 65 6d 20 33 20 6f 66 |e2.put i|tem 3 of|
|000049d0| 20 69 74 20 69 6e 74 6f | 20 69 74 65 6d 20 31 20 | it into| item 1 |
|000049e0| 6f 66 20 6c 69 6e 65 32 | 0d 72 65 70 65 61 74 20 |of line2|.repeat |
|000049f0| 66 6f 72 20 32 0d 72 65 | 70 65 61 74 20 77 69 74 |for 2.re|peat wit|
|00004a00| 68 20 69 20 3d 20 31 20 | 74 6f 20 34 0d 61 64 64 |h i = 1 |to 4.add|
|00004a10| 20 31 20 74 6f 20 69 74 | 65 6d 20 69 20 6f 66 20 | 1 to it|em i of |
|00004a20| 6c 69 6e 65 31 0d 61 64 | 64 20 31 20 74 6f 20 69 |line1.ad|d 1 to i|
|00004a30| 74 65 6d 20 69 20 6f 66 | 20 6c 69 6e 65 32 0d 65 |tem i of| line2.e|
|00004a40| 6e 64 20 72 65 70 65 61 | 74 0d 64 6f 44 72 61 67 |nd repea|t.doDrag|
|00004a50| 20 6c 69 6e 65 31 0d 64 | 6f 44 72 61 67 20 6c 69 | line1.d|oDrag li|
|00004a60| 6e 65 32 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |ne2.end |repeat.e|
|00004a70| 6e 64 20 53 68 61 64 6f | 77 42 6f 78 0d 0d 6f 6e |nd Shado|wBox..on|
|00004a80| 20 63 72 65 61 74 65 4d | 61 74 72 69 78 42 6b 67 | createM|atrixBkg|
|00004a90| 0d 2d 2d 20 73 65 74 20 | 74 68 65 20 62 61 63 6b |.-- set |the back|
|00004aa0| 67 72 6f 75 6e 64 20 74 | 6f 20 74 68 65 20 76 69 |ground t|o the vi|
|00004ab0| 73 69 62 6c 65 20 6d 61 | 74 72 69 78 20 66 69 65 |sible ma|trix fie|
|00004ac0| 6c 64 73 20 77 68 69 74 | 65 0d 67 6c 6f 62 61 6c |lds whit|e.global|
|00004ad0| 20 6e 75 6d 53 70 65 65 | 64 73 2c 20 6e 75 6d 52 | numSpee|ds, numR|
|00004ae0| 69 6e 67 73 0d 70 75 74 | 20 74 68 65 20 75 73 65 |ings.put| the use|
|00004af0| 72 4c 65 76 65 6c 20 69 | 6e 74 6f 20 70 72 65 76 |rLevel i|nto prev|
|00004b00| 4c 65 76 65 6c 0d 69 66 | 20 70 72 65 76 4c 65 76 |Level.if| prevLev|
|00004b10| 65 6c 20 3c 20 33 20 74 | 68 65 6e 20 73 65 74 20 |el < 3 t|hen set |
|00004b20| 74 68 65 20 75 73 65 72 | 4c 65 76 65 6c 20 74 6f |the user|Level to|
|00004b30| 20 33 0d 53 68 61 64 6f | 77 42 6f 78 20 74 68 65 | 3.Shado|wBox the|
|00004b40| 20 72 65 63 74 20 6f 66 | 20 66 69 65 6c 64 20 22 | rect of| field "|
|00004b50| 42 6b 67 20 41 72 65 61 | 22 2c 20 32 32 0d 63 68 |Bkg Area|", 22.ch|
|00004b60| 6f 6f 73 65 20 73 65 6c | 65 63 74 20 74 6f 6f 6c |oose sel|ect tool|
|00004b70| 0d 67 65 74 20 74 68 65 | 20 54 6f 70 4c 65 66 74 |.get the| TopLeft|
|00004b80| 20 6f 66 20 63 61 72 64 | 20 66 69 65 6c 64 20 22 | of card| field "|
|00004b90| 4c 31 31 22 0d 70 75 74 | 20 69 74 65 6d 20 31 20 |L11".put| item 1 |
|00004ba0| 6f 66 20 69 74 20 2d 20 | 35 20 69 6e 74 6f 20 69 |of it - |5 into i|
|00004bb0| 74 65 6d 20 31 20 6f 66 | 20 72 65 63 74 0d 70 75 |tem 1 of| rect.pu|
|00004bc0| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 69 74 20 2d |t item 2| of it -|
|00004bd0| 20 35 20 69 6e 74 6f 20 | 69 74 65 6d 20 32 20 6f | 5 into |item 2 o|
|00004be0| 66 20 72 65 63 74 0d 67 | 65 74 20 74 68 65 20 42 |f rect.g|et the B|
|00004bf0| 6f 74 74 6f 6d 52 69 67 | 68 74 20 6f 66 20 63 61 |ottomRig|ht of ca|
|00004c00| 72 64 20 66 69 65 6c 64 | 20 28 22 4c 22 26 6e 75 |rd field| ("L"&nu|
|00004c10| 6d 52 69 6e 67 73 26 6e | 75 6d 53 70 65 65 64 73 |mRings&n|umSpeeds|
|00004c20| 29 0d 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |).put it|em 1 of |
|00004c30| 69 74 20 2b 20 35 20 69 | 6e 74 6f 20 69 74 65 6d |it + 5 i|nto item|
|00004c40| 20 33 20 6f 66 20 72 65 | 63 74 0d 70 75 74 20 69 | 3 of re|ct.put i|
|00004c50| 74 65 6d 20 32 20 6f 66 | 20 69 74 20 2b 20 35 20 |tem 2 of| it + 5 |
|00004c60| 69 6e 74 6f 20 69 74 65 | 6d 20 34 20 6f 66 20 72 |into ite|m 4 of r|
|00004c70| 65 63 74 0d 53 68 61 64 | 6f 77 42 6f 78 20 72 65 |ect.Shad|owBox re|
|00004c80| 63 74 2c 20 31 0d 63 68 | 6f 6f 73 65 20 62 72 6f |ct, 1.ch|oose bro|
|00004c90| 77 73 65 20 74 6f 6f 6c | 0d 69 66 20 70 72 65 76 |wse tool|.if prev|
|00004ca0| 4c 65 76 65 6c 20 3c 20 | 33 20 74 68 65 6e 20 73 |Level < |3 then s|
|00004cb0| 65 74 20 74 68 65 20 75 | 73 65 72 4c 65 76 65 6c |et the u|serLevel|
|00004cc0| 20 74 6f 20 70 72 65 76 | 4c 65 76 65 6c 0d 65 6e | to prev|Level.en|
|00004cd0| 64 20 63 72 65 61 74 65 | 4d 61 74 72 69 78 42 6b |d create|MatrixBk|
|00004ce0| 67 0d 0d 6f 6e 20 72 65 | 64 6f 54 61 62 6c 65 0d |g..on re|doTable.|
|00004cf0| 67 6c 6f 62 61 6c 20 6e | 75 6d 53 70 65 65 64 73 |global n|umSpeeds|
|00004d00| 2c 20 6e 75 6d 52 69 6e | 67 73 2c 20 6d 61 78 53 |, numRin|gs, maxS|
|00004d10| 70 65 65 64 73 2c 20 6d | 61 78 52 69 6e 67 73 0d |peeds, m|axRings.|
|00004d20| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00004d30| 74 63 68 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |tch.lock| screen.|
|00004d40| 2d 2d 20 73 65 74 20 74 | 68 65 20 63 6f 72 72 65 |-- set t|he corre|
|00004d50| 63 74 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 68 61 |ct numbe|r of cha|
|00004d60| 69 6e 20 77 68 65 65 6c | 20 65 6e 74 72 69 65 73 |in wheel| entries|
|00004d70| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00004d80| 20 31 20 74 6f 20 6d 61 | 78 52 69 6e 67 73 0d 73 | 1 to ma|xRings.s|
|00004d90| 65 74 76 69 73 20 22 66 | 22 20 26 20 69 2c 20 69 |etvis "f|" & i, i|
|00004da0| 3c 3d 20 6e 75 6d 52 69 | 6e 67 73 0d 65 6e 64 20 |<= numRi|ngs.end |
|00004db0| 72 65 70 65 61 74 0d 2d | 2d 20 73 65 74 20 74 68 |repeat.-|- set th|
|00004dc0| 65 20 63 6f 72 72 65 63 | 74 20 6e 75 6d 62 65 72 |e correc|t number|
|00004dd0| 20 6f 66 20 72 65 61 72 | 20 63 6c 75 73 74 65 72 | of rear| cluster|
|00004de0| 20 65 6e 74 72 69 65 73 | 0d 72 65 70 65 61 74 20 | entries|.repeat |
|00004df0| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 6d 61 |with i =| 1 to ma|
|00004e00| 78 53 70 65 65 64 73 0d | 73 65 74 76 69 73 20 22 |xSpeeds.|setvis "|
|00004e10| 72 22 20 26 20 69 2c 20 | 69 3c 3d 20 6e 75 6d 53 |r" & i, |i<= numS|
|00004e20| 70 65 65 64 73 0d 65 6e | 64 20 72 65 70 65 61 74 |peeds.en|d repeat|
|00004e30| 0d 2d 2d 20 6d 61 6b 65 | 20 74 68 65 20 61 70 70 |.-- make| the app|
|00004e40| 72 6f 70 72 69 61 74 65 | 20 63 72 6f 73 73 20 72 |ropriate| cross r|
|00004e50| 65 66 65 72 65 6e 63 65 | 20 6d 61 74 72 69 78 20 |eference| matrix |
|00004e60| 76 69 73 69 62 6c 65 0d | 72 65 70 65 61 74 20 77 |visible.|repeat w|
|00004e70| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6d 61 78 |ith i = |1 to max|
|00004e80| 52 69 6e 67 73 0d 72 65 | 70 65 61 74 20 77 69 74 |Rings.re|peat wit|
|00004e90| 68 20 6a 20 3d 20 31 20 | 74 6f 20 6d 61 78 53 70 |h j = 1 |to maxSp|
|00004ea0| 65 65 64 73 0d 70 75 74 | 20 28 69 20 3c 3d 20 6e |eeds.put| (i <= n|
|00004eb0| 75 6d 52 69 6e 67 73 29 | 20 61 6e 64 20 28 20 6a |umRings)| and ( j|
|00004ec0| 20 3c 3d 20 6e 75 6d 53 | 70 65 65 64 73 29 20 69 | <= numS|peeds) i|
|00004ed0| 6e 74 6f 20 77 61 6e 74 | 65 64 0d 73 65 74 76 69 |nto want|ed.setvi|
|00004ee0| 73 20 22 4c 22 20 26 20 | 69 20 26 20 6a 2c 20 77 |s "L" & |i & j, w|
|00004ef0| 61 6e 74 65 64 0d 73 65 | 74 20 76 69 73 69 62 6c |anted.se|t visibl|
|00004f00| 65 20 6f 66 20 62 75 74 | 74 6f 6e 20 28 22 70 22 |e of but|ton ("p"|
|00004f10| 20 26 20 69 20 26 20 6a | 29 20 74 6f 20 77 61 6e | & i & j|) to wan|
|00004f20| 74 65 64 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |ted.end |repeat.e|
|00004f30| 6e 64 20 72 65 70 65 61 | 74 0d 63 72 65 61 74 65 |nd repea|t.create|
|00004f40| 4d 61 74 72 69 78 42 6b | 67 0d 77 72 61 70 73 74 |MatrixBk|g.wrapst|
|00004f50| 61 74 73 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |ats.unlo|ck scree|
|00004f60| 6e 0d 65 6e 64 20 72 65 | 64 6f 54 61 62 6c 65 0d |n.end re|doTable.|
|00004f70| 0d 6f 6e 20 66 72 6f 6e | 74 43 68 61 69 6e 20 75 |.on fron|tChain u|
|00004f80| 70 64 61 74 65 0d 67 6c | 6f 62 61 6c 20 6e 75 6d |pdate.gl|obal num|
|00004f90| 52 69 6e 67 73 0d 70 75 | 74 20 77 6f 72 64 20 31 |Rings.pu|t word 1|
|00004fa0| 20 6f 66 20 66 69 65 6c | 64 20 22 46 72 6f 6e 74 | of fiel|d "Front|
|00004fb0| 20 43 68 61 69 6e 22 20 | 69 6e 74 6f 20 6e 75 6d | Chain" |into num|
|00004fc0| 52 69 6e 67 73 0d 69 66 | 20 6f 70 74 54 72 75 65 |Rings.if| optTrue|
|00004fd0| 28 75 70 64 61 74 65 29 | 20 74 68 65 6e 20 72 65 |(update)| then re|
|00004fe0| 64 6f 54 61 62 6c 65 0d | 65 6e 64 20 66 72 6f 6e |doTable.|end fron|
|00004ff0| 74 43 68 61 69 6e 0d 0d | 6f 6e 20 72 65 61 72 43 |tChain..|on rearC|
|00005000| 6c 75 73 74 65 72 20 75 | 70 64 61 74 65 0d 67 6c |luster u|pdate.gl|
|00005010| 6f 62 61 6c 20 6e 75 6d | 53 70 65 65 64 73 0d 70 |obal num|Speeds.p|
|00005020| 75 74 20 77 6f 72 64 20 | 31 20 6f 66 20 66 69 65 |ut word |1 of fie|
|00005030| 6c 64 20 22 52 65 61 72 | 20 43 6c 75 73 74 65 72 |ld "Rear| Cluster|
|00005040| 22 20 69 6e 74 6f 20 6e | 75 6d 53 70 65 65 64 73 |" into n|umSpeeds|
|00005050| 0d 69 66 20 6f 70 74 54 | 72 75 65 28 75 70 64 61 |.if optT|rue(upda|
|00005060| 74 65 29 20 74 68 65 6e | 20 72 65 64 6f 54 61 62 |te) then| redoTab|
|00005070| 6c 65 0d 65 6e 64 20 72 | 65 61 72 43 6c 75 73 74 |le.end r|earClust|
|00005080| 65 72 0d 0d 6f 6e 20 77 | 68 65 65 6c 53 69 7a 65 |er..on w|heelSize|
|00005090| 20 64 6f 5f 63 61 6c 63 | 0d 67 6c 6f 62 61 6c 20 | do_calc|.global |
|000050a0| 77 68 65 65 6c 44 69 61 | 6d 0d 67 65 74 20 77 6f |wheelDia|m.get wo|
|000050b0| 72 64 20 31 20 6f 66 20 | 66 69 65 6c 64 20 22 57 |rd 1 of |field "W|
|000050c0| 68 65 65 6c 20 53 69 7a | 65 22 0d 69 66 20 69 74 |heel Siz|e".if it|
|000050d0| 20 3e 3d 20 31 30 30 20 | 74 68 65 6e 20 2d 2d 20 | >= 100 |then -- |
|000050e0| 72 65 61 73 6f 6e 61 62 | 6c 65 20 74 68 72 65 73 |reasonab|le thres|
|000050f0| 68 68 6f 6c 64 3f 2c 20 | 61 73 73 75 6d 65 20 6d |hhold?, |assume m|
|00005100| 6d 20 69 73 20 6f 76 65 | 72 20 31 30 30 0d 69 66 |m is ove|r 100.if|
|00005110| 20 69 74 20 69 73 20 37 | 30 30 20 74 68 65 6e 20 | it is 7|00 then |
|00005120| 67 65 74 20 32 37 0d 65 | 6c 73 65 20 69 66 20 69 |get 27.e|lse if i|
|00005130| 74 20 69 73 20 36 35 30 | 20 74 68 65 6e 20 67 65 |t is 650| then ge|
|00005140| 74 20 32 36 0d 65 6c 73 | 65 20 67 65 74 20 69 74 |t 26.els|e get it|
|00005150| 2f 32 35 2e 34 0d 65 6e | 64 20 69 66 0d 70 75 74 |/25.4.en|d if.put|
|00005160| 20 69 74 20 69 6e 74 6f | 20 77 68 65 65 6c 44 69 | it into| wheelDi|
|00005170| 61 6d 0d 69 66 20 6f 70 | 74 54 72 75 65 28 64 6f |am.if op|tTrue(do|
|00005180| 5f 63 61 6c 63 29 20 74 | 68 65 6e 20 61 75 74 6f |_calc) t|hen auto|
|00005190| 5f 63 61 6c 63 0d 65 6e | 64 20 77 68 65 65 6c 53 |_calc.en|d wheelS|
|000051a0| 69 7a 65 0d 0d 6f 6e 20 | 72 61 6e 67 65 20 64 6f |ize..on |range do|
|000051b0| 5f 63 61 6c 63 0d 67 6c | 6f 62 61 6c 20 6c 6f 77 |_calc.gl|obal low|
|000051c0| 65 72 2c 20 6c 6e 5f 6c | 6f 77 65 72 2c 20 75 70 |er, ln_l|ower, up|
|000051d0| 70 65 72 2c 20 70 69 78 | 65 6c 73 50 65 72 4c 6f |per, pix|elsPerLo|
|000051e0| 67 0d 67 65 74 20 66 69 | 65 6c 64 20 22 52 61 6e |g.get fi|eld "Ran|
|000051f0| 67 65 22 0d 69 66 20 69 | 74 20 69 73 20 22 52 61 |ge".if i|t is "Ra|
|00005200| 63 69 6e 67 22 20 74 68 | 65 6e 0d 70 75 74 20 34 |cing" th|en.put 4|
|00005210| 20 69 6e 74 6f 20 6c 6f | 77 65 72 0d 70 75 74 20 | into lo|wer.put |
|00005220| 31 31 20 69 6e 74 6f 20 | 75 70 70 65 72 0d 65 6c |11 into |upper.el|
|00005230| 73 65 20 69 66 20 69 74 | 20 69 73 20 22 54 6f 77 |se if it| is "Tow|
|00005240| 6e 22 20 74 68 65 6e 0d | 70 75 74 20 33 20 69 6e |n" then.|put 3 in|
|00005250| 74 6f 20 6c 6f 77 65 72 | 0d 70 75 74 20 31 30 20 |to lower|.put 10 |
|00005260| 69 6e 74 6f 20 75 70 70 | 65 72 0d 65 6c 73 65 20 |into upp|er.else |
|00005270| 2d 2d 20 69 66 20 69 74 | 20 69 73 20 22 54 6f 75 |-- if it| is "Tou|
|00005280| 72 69 6e 67 22 0d 70 75 | 74 20 32 20 69 6e 74 6f |ring".pu|t 2 into|
|00005290| 20 6c 6f 77 65 72 0d 70 | 75 74 20 31 30 20 69 6e | lower.p|ut 10 in|
|000052a0| 74 6f 20 75 70 70 65 72 | 0d 65 6e 64 20 69 66 0d |to upper|.end if.|
|000052b0| 70 75 74 20 6c 6e 28 6c | 6f 77 65 72 29 20 69 6e |put ln(l|ower) in|
|000052c0| 74 6f 20 6c 6e 5f 6c 6f | 77 65 72 0d 70 75 74 20 |to ln_lo|wer.put |
|000052d0| 28 74 68 65 20 77 69 64 | 74 68 20 6f 66 20 66 69 |(the wid|th of fi|
|000052e0| 65 6c 64 20 22 42 61 72 | 20 41 72 65 61 22 29 2f |eld "Bar| Area")/|
|000052f0| 28 6c 6e 28 75 70 70 65 | 72 2b 31 29 2d 6c 6e 5f |(ln(uppe|r+1)-ln_|
|00005300| 6c 6f 77 65 72 29 c2 0d | 69 6e 74 6f 20 70 69 78 |lower)..|into pix|
|00005310| 65 6c 73 50 65 72 4c 6f | 67 0d 69 66 20 6f 70 74 |elsPerLo|g.if opt|
|00005320| 54 72 75 65 28 64 6f 5f | 63 61 6c 63 29 20 74 68 |True(do_|calc) th|
|00005330| 65 6e 0d 64 72 61 77 0d | 63 61 6c 63 75 6c 61 74 |en.draw.|calculat|
|00005340| 65 0d 2d 2d 20 61 75 74 | 6f 5f 63 61 6c 63 0d 65 |e.-- aut|o_calc.e|
|00005350| 6e 64 20 69 66 0d 65 6e | 64 20 72 61 6e 67 65 0d |nd if.en|d range.|
|00005360| 0d 6f 6e 20 64 72 61 77 | 0d 67 6c 6f 62 61 6c 20 |.on draw|.global |
|00005370| 6c 6f 77 65 72 2c 20 6c | 6e 5f 6c 6f 77 65 72 2c |lower, l|n_lower,|
|00005380| 20 75 70 70 65 72 2c 20 | 70 69 78 65 6c 73 50 65 | upper, |pixelsPe|
|00005390| 72 4c 6f 67 2c 20 4d 61 | 78 52 69 6e 67 73 2c 20 |rLog, Ma|xRings, |
|000053a0| 4d 61 78 53 70 65 65 64 | 73 0d 0d 73 65 74 20 63 |MaxSpeed|s..set c|
|000053b0| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 6c |ursor to| watch.l|
|000053c0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 0d 70 75 74 20 |ock scre|en..put |
|000053d0| 75 70 70 65 72 2d 6c 6f | 77 65 72 2b 31 20 69 6e |upper-lo|wer+1 in|
|000053e0| 74 6f 20 6e 75 6d 53 65 | 63 74 6f 72 73 0d 0d 70 |to numSe|ctors..p|
|000053f0| 75 74 20 74 68 65 20 75 | 73 65 72 4c 65 76 65 6c |ut the u|serLevel|
|00005400| 20 69 6e 74 6f 20 70 72 | 65 76 4c 65 76 65 6c 0d | into pr|evLevel.|
|00005410| 69 66 20 70 72 65 76 4c | 65 76 65 6c 20 3c 20 33 |if prevL|evel < 3|
|00005420| 20 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 75 73 | then se|t the us|
|00005430| 65 72 4c 65 76 65 6c 20 | 74 6f 20 33 0d 0d 70 75 |erLevel |to 3..pu|
|00005440| 74 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 66 69 |t the re|ct of fi|
|00005450| 65 6c 64 20 22 42 61 72 | 20 41 72 65 61 22 20 69 |eld "Bar| Area" i|
|00005460| 6e 74 6f 20 61 72 65 61 | 0d 0d 46 69 6c 6c 52 65 |nto area|..FillRe|
|00005470| 63 74 20 61 72 65 61 2c | 20 31 34 0d 0d 2d 2d 20 |ct area,| 14..-- |
|00005480| 64 72 61 77 20 6e 75 6d | 62 65 72 73 0d 63 68 6f |draw num|bers.cho|
|00005490| 6f 73 65 20 74 65 78 74 | 20 74 6f 6f 6c 0d 73 65 |ose text| tool.se|
|000054a0| 74 20 74 65 78 74 66 6f | 6e 74 20 74 6f 20 67 65 |t textfo|nt to ge|
|000054b0| 6e 65 76 61 0d 73 65 74 | 20 74 65 78 74 73 69 7a |neva.set| textsiz|
|000054c0| 65 20 74 6f 20 31 30 0d | 73 65 74 20 74 65 78 74 |e to 10.|set text|
|000054d0| 73 74 79 6c 65 20 74 6f | 20 62 6f 6c 64 0d 70 75 |style to| bold.pu|
|000054e0| 74 20 69 74 65 6d 20 34 | 20 6f 66 20 61 72 65 61 |t item 4| of area|
|000054f0| 20 2d 31 20 69 6e 74 6f | 20 76 65 72 74 0d 70 75 | -1 into| vert.pu|
|00005500| 74 20 69 74 65 6d 20 31 | 20 6f 66 20 61 72 65 61 |t item 1| of area|
|00005510| 20 2b 20 31 20 69 6e 74 | 6f 20 62 61 73 65 48 6f | + 1 int|o baseHo|
|00005520| 72 69 7a 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |riz.repe|at with |
|00005530| 69 20 3d 20 30 20 74 6f | 20 6e 75 6d 53 65 63 74 |i = 0 to| numSect|
|00005540| 6f 72 73 2d 31 0d 63 6c | 69 63 6b 20 61 74 20 72 |ors-1.cl|ick at r|
|00005550| 6f 75 6e 64 28 62 61 73 | 65 48 6f 72 69 7a 20 2b |ound(bas|eHoriz +|
|00005560| 20 28 6c 6e 28 6c 6f 77 | 65 72 2b 69 29 2d 6c 6e | (ln(low|er+i)-ln|
|00005570| 5f 6c 6f 77 65 72 29 2a | 70 69 78 65 6c 73 50 65 |_lower)*|pixelsPe|
|00005580| 72 4c 6f 67 29 2c 76 65 | 72 74 0d 74 79 70 65 20 |rLog),ve|rt.type |
|00005590| 28 6c 6f 77 65 72 2b 69 | 29 2a 31 30 0d 65 6e 64 |(lower+i|)*10.end|
|000055a0| 20 72 65 70 65 61 74 0d | 0d 53 68 61 64 6f 77 42 | repeat.|.ShadowB|
|000055b0| 6f 78 20 61 72 65 61 0d | 0d 2d 2d 20 64 72 61 77 |ox area.|.-- draw|
|000055c0| 20 74 69 63 6b 73 0d 63 | 68 6f 6f 73 65 20 6c 69 | ticks.c|hoose li|
|000055d0| 6e 65 20 74 6f 6f 6c 0d | 73 65 74 20 6c 69 6e 65 |ne tool.|set line|
|000055e0| 73 69 7a 65 20 74 6f 20 | 31 0d 70 75 74 20 69 74 |size to |1.put it|
|000055f0| 65 6d 20 31 20 74 6f 20 | 32 20 6f 66 20 61 72 65 |em 1 to |2 of are|
|00005600| 61 20 69 6e 74 6f 20 73 | 74 61 72 74 0d 70 75 74 |a into s|tart.put|
|00005610| 20 69 74 65 6d 20 34 20 | 6f 66 20 61 72 65 61 20 | item 4 |of area |
|00005620| 69 6e 74 6f 20 69 74 65 | 6d 20 32 20 6f 66 20 66 |into ite|m 2 of f|
|00005630| 69 6e 69 73 68 0d 70 75 | 74 20 69 74 65 6d 20 31 |inish.pu|t item 1|
|00005640| 20 6f 66 20 61 72 65 61 | 20 69 6e 74 6f 20 62 61 | of area| into ba|
|00005650| 73 65 48 6f 72 69 7a 0d | 72 65 70 65 61 74 20 77 |seHoriz.|repeat w|
|00005660| 69 74 68 20 69 20 3d 20 | 30 20 74 6f 20 6e 75 6d |ith i = |0 to num|
|00005670| 53 65 63 74 6f 72 73 0d | 70 75 74 20 72 6f 75 6e |Sectors.|put roun|
|00005680| 64 28 62 61 73 65 48 6f | 72 69 7a 20 2b 20 28 6c |d(baseHo|riz + (l|
|00005690| 6e 28 6c 6f 77 65 72 2b | 69 29 2d 6c 6e 5f 6c 6f |n(lower+|i)-ln_lo|
|000056a0| 77 65 72 29 2a 70 69 78 | 65 6c 73 50 65 72 4c 6f |wer)*pix|elsPerLo|
|000056b0| 67 29 20 69 6e 74 6f 20 | c2 0d 69 74 65 6d 20 31 |g) into |..item 1|
|000056c0| 20 6f 66 20 73 74 61 72 | 74 0d 70 75 74 20 69 74 | of star|t.put it|
|000056d0| 65 6d 20 31 20 6f 66 20 | 73 74 61 72 74 20 69 6e |em 1 of |start in|
|000056e0| 74 6f 20 69 74 65 6d 20 | 31 20 6f 66 20 66 69 6e |to item |1 of fin|
|000056f0| 69 73 68 0d 64 72 61 67 | 20 66 72 6f 6d 20 73 74 |ish.drag| from st|
|00005700| 61 72 74 20 74 6f 20 66 | 69 6e 69 73 68 0d 65 6e |art to f|inish.en|
|00005710| 64 20 72 65 70 65 61 74 | 0d 0d 63 68 6f 6f 73 65 |d repeat|..choose|
|00005720| 20 62 72 6f 77 73 65 20 | 74 6f 6f 6c 0d 69 66 20 | browse |tool.if |
|00005730| 70 72 65 76 4c 65 76 65 | 6c 20 3c 20 33 20 74 68 |prevLeve|l < 3 th|
|00005740| 65 6e 20 73 65 74 20 74 | 68 65 20 75 73 65 72 4c |en set t|he userL|
|00005750| 65 76 65 6c 20 74 6f 20 | 70 72 65 76 4c 65 76 65 |evel to |prevLeve|
|00005760| 6c 0d 0d 69 66 20 74 68 | 65 20 63 6f 6d 6d 61 6e |l..if th|e comman|
|00005770| 64 4b 65 79 20 69 73 20 | 6e 6f 74 20 75 70 20 74 |dKey is |not up t|
|00005780| 68 65 6e 20 53 65 74 49 | 6e 64 69 63 61 74 6f 72 |hen SetI|ndicator|
|00005790| 53 69 7a 65 73 0d 0d 75 | 6e 6c 6f 63 6b 20 73 63 |Sizes..u|nlock sc|
|000057a0| 72 65 65 6e 0d 65 6e 64 | 20 64 72 61 77 0d 0d 6f |reen.end| draw..o|
|000057b0| 6e 20 53 65 74 49 6e 64 | 69 63 61 74 6f 72 53 69 |n SetInd|icatorSi|
|000057c0| 7a 65 73 0d 67 6c 6f 62 | 61 6c 20 6d 61 78 53 70 |zes.glob|al maxSp|
|000057d0| 65 65 64 73 2c 20 6d 61 | 78 52 69 6e 67 73 0d 2d |eeds, ma|xRings.-|
|000057e0| 2d 20 74 68 69 73 20 73 | 65 74 73 20 74 68 65 20 |- this s|ets the |
|000057f0| 73 69 7a 65 73 20 6f 66 | 20 74 68 65 20 76 61 72 |sizes of| the var|
|00005800| 69 6f 75 73 20 62 75 74 | 74 6f 6e 73 2c 20 61 6e |ious but|tons, an|
|00005810| 64 20 73 68 6f 75 6c 64 | 0d 2d 2d 20 62 65 20 75 |d should|.-- be u|
|00005820| 73 65 64 20 74 6f 20 63 | 68 61 6e 67 65 20 74 68 |sed to c|hange th|
|00005830| 65 69 72 20 61 70 70 65 | 61 72 61 6e 63 65 0d 0d |eir appe|arance..|
|00005840| 69 66 20 6d 61 78 52 69 | 6e 67 73 20 3e 20 33 20 |if maxRi|ngs > 3 |
|00005850| 74 68 65 6e 0d 70 75 74 | 20 22 54 68 65 20 6e 75 |then.put| "The nu|
|00005860| 6d 62 65 72 20 6f 66 20 | 72 69 6e 67 73 20 68 61 |mber of |rings ha|
|00005870| 73 20 62 65 65 6e 20 73 | 65 74 20 67 72 65 61 74 |s been s|et great|
|00005880| 65 72 20 74 68 61 6e 20 | 33 2e 22 20 69 6e 74 6f |er than |3." into|
|00005890| 20 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 0d 70 75 | line 1 |of it.pu|
|000058a0| 74 20 22 59 6f 75 20 77 | 69 6c 6c 20 6e 65 65 64 |t "You w|ill need|
|000058b0| 20 74 6f 20 6d 6f 64 69 | 66 79 20 74 68 65 20 73 | to modi|fy the s|
|000058c0| 74 61 63 6b 20 74 6f 20 | 63 6f 70 65 20 77 69 74 |tack to |cope wit|
|000058d0| 68 20 74 68 69 73 2e 22 | 20 69 6e 74 6f 20 6c 69 |h this."| into li|
|000058e0| 6e 65 20 32 20 6f 66 20 | 69 74 0d 70 75 74 20 22 |ne 2 of |it.put "|
|000058f0| 53 65 65 20 74 68 65 20 | 69 6e 66 6f 20 70 61 67 |See the |info pag|
|00005900| 65 73 2e 22 0d 61 6e 73 | 77 65 72 20 69 74 0d 65 |es.".ans|wer it.e|
|00005910| 78 69 74 20 74 6f 20 68 | 79 70 65 72 63 61 72 64 |xit to h|ypercard|
|00005920| 0d 65 6e 64 20 69 66 0d | 0d 2d 2d 20 54 68 65 20 |.end if.|.-- The |
|00005930| 68 65 69 67 68 74 20 6f | 66 20 74 68 65 20 76 61 |height o|f the va|
|00005940| 72 69 6f 75 73 20 72 69 | 6e 67 73 d5 20 69 6e 64 |rious ri|ngs. ind|
|00005950| 69 63 61 74 6f 72 73 2c | 20 73 68 6f 75 6c 64 20 |icators,| should |
|00005960| 62 65 20 6f 64 64 20 6e | 75 6d 62 65 72 73 20 28 |be odd n|umbers (|
|00005970| 3f 29 0d 70 75 74 20 31 | 39 20 69 6e 74 6f 20 69 |?).put 1|9 into i|
|00005980| 74 65 6d 20 31 20 6f 66 | 20 62 75 74 74 6f 6e 4c |tem 1 of| buttonL|
|00005990| 65 6e 67 74 68 20 20 2d | 2d 20 73 69 6e 67 6c 65 |ength -|- single|
|000059a0| 20 6f 72 20 6c 61 72 67 | 65 73 74 0d 70 75 74 20 | or larg|est.put |
|000059b0| 31 31 20 69 6e 74 6f 20 | 69 74 65 6d 20 32 20 6f |11 into |item 2 o|
|000059c0| 66 20 62 75 74 74 6f 6e | 4c 65 6e 67 74 68 20 20 |f button|Length |
|000059d0| 2d 2d 20 69 6e 6e 65 72 | 20 6f 6e 20 74 77 6f 2c |-- inner| on two,|
|000059e0| 20 6d 69 64 64 6c 65 20 | 66 6f 72 20 74 68 72 65 | middle |for thre|
|000059f0| 65 0d 70 75 74 20 20 35 | 20 69 6e 74 6f 20 69 74 |e.put 5| into it|
|00005a00| 65 6d 20 33 20 6f 66 20 | 62 75 74 74 6f 6e 4c 65 |em 3 of |buttonLe|
|00005a10| 6e 67 74 68 20 20 2d 2d | 20 69 6e 6e 65 72 20 6f |ngth --| inner o|
|00005a20| 6e 20 74 68 72 65 65 0d | 0d 2d 2d 20 64 65 74 65 |n three.|.-- dete|
|00005a30| 72 6d 69 6e 65 20 69 6e | 64 69 63 61 74 6f 72 20 |rmine in|dicator |
|00005a40| 62 75 74 74 6f 6e 20 72 | 65 63 74 61 6e 67 6c 65 |button r|ectangle|
|00005a50| 0d 70 75 74 20 2d 34 20 | 69 6e 74 6f 20 69 74 65 |.put -4 |into ite|
|00005a60| 6d 20 31 20 6f 66 20 74 | 68 65 42 75 74 74 6f 6e |m 1 of t|heButton|
|00005a70| 52 65 63 74 0d 70 75 74 | 20 2d 32 20 69 6e 74 6f |Rect.put| -2 into|
|00005a80| 20 69 74 65 6d 20 33 20 | 6f 66 20 74 68 65 42 75 | item 3 |of theBu|
|00005a90| 74 74 6f 6e 52 65 63 74 | 0d 70 75 74 20 74 68 65 |ttonRect|.put the|
|00005aa0| 20 54 6f 70 20 6f 66 20 | 62 61 63 6b 67 72 6f 75 | Top of |backgrou|
|00005ab0| 6e 64 20 66 69 65 6c 64 | 20 22 42 61 72 20 41 72 |nd field| "Bar Ar|
|00005ac0| 65 61 22 20 69 6e 74 6f | 20 62 61 72 48 65 69 67 |ea" into| barHeig|
|00005ad0| 68 74 0d 70 75 74 20 62 | 61 72 48 65 69 67 68 74 |ht.put b|arHeight|
|00005ae0| 20 69 6e 74 6f 20 69 74 | 65 6d 20 34 20 6f 66 20 | into it|em 4 of |
|00005af0| 74 68 65 42 75 74 74 6f | 6e 52 65 63 74 0d 0d 72 |theButto|nRect..r|
|00005b00| 65 70 65 61 74 20 77 69 | 74 68 20 69 3d 31 20 74 |epeat wi|th i=1 t|
|00005b10| 6f 20 6d 61 78 52 69 6e | 67 73 0d 70 75 74 20 62 |o maxRin|gs.put b|
|00005b20| 61 72 48 65 69 67 68 74 | 20 2d 20 69 74 65 6d 20 |arHeight| - item |
|00005b30| 69 20 6f 66 20 62 75 74 | 74 6f 6e 4c 65 6e 67 74 |i of but|tonLengt|
|00005b40| 68 20 69 6e 74 6f 20 c2 | 0d 69 74 65 6d 20 32 20 |h into .|.item 2 |
|00005b50| 6f 66 20 74 68 65 42 75 | 74 74 6f 6e 52 65 63 74 |of theBu|ttonRect|
|00005b60| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 6a 20 3d |.repeat |with j =|
|00005b70| 20 31 20 74 6f 20 6d 61 | 78 53 70 65 65 64 73 0d | 1 to ma|xSpeeds.|
|00005b80| 73 65 74 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |set the |rect of |
|00005b90| 63 61 72 64 20 62 75 74 | 74 6f 6e 20 28 22 70 22 |card but|ton ("p"|
|00005ba0| 26 69 26 6a 29 20 74 6f | 20 74 68 65 42 75 74 74 |&i&j) to| theButt|
|00005bb0| 6f 6e 52 65 63 74 0d 65 | 6e 64 20 72 65 70 65 61 |onRect.e|nd repea|
|00005bc0| 74 0d 70 75 74 20 69 74 | 65 6d 20 32 20 6f 66 20 |t.put it|em 2 of |
|00005bd0| 74 68 65 20 6c 6f 63 20 | 6f 66 20 63 61 72 64 20 |the loc |of card |
|00005be0| 62 75 74 74 6f 6e 20 28 | 22 70 22 26 69 26 22 31 |button (|"p"&i&"1|
|00005bf0| 22 29 20 69 6e 74 6f 20 | 69 74 65 6d 20 31 20 6f |") into |item 1 o|
|00005c00| 66 20 62 61 73 65 4c 6f | 63 0d 65 6e 64 20 72 65 |f baseLo|c.end re|
|00005c10| 70 65 61 74 0d 65 6e 64 | 20 53 65 74 49 6e 64 69 |peat.end| SetIndi|
|00005c20| 63 61 74 6f 72 53 69 7a | 65 73 0d 0d 6f 6e 20 64 |catorSiz|es..on d|
|00005c30| 6f 4d 65 6e 75 20 63 6f | 6d 6d 0d 69 66 20 63 6f |oMenu co|mm.if co|
|00005c40| 6d 6d 20 69 73 20 22 44 | 65 6c 65 74 65 20 43 61 |mm is "D|elete Ca|
|00005c50| 72 64 22 20 74 68 65 6e | 0d 70 75 74 20 6e 6f 74 |rd" then|.put not|
|00005c60| 20 28 76 69 73 69 62 6c | 65 20 6f 66 20 62 61 63 | (visibl|e of bac|
|00005c70| 6b 67 72 6f 75 6e 64 20 | 62 75 74 74 6f 6e 20 22 |kground |button "|
|00005c80| 4e 65 78 74 22 29 20 69 | 6e 74 6f 20 6c 73 74 0d |Next") i|nto lst.|
|00005c90| 70 75 74 20 6e 6f 74 20 | 28 76 69 73 69 62 6c 65 |put not |(visible|
|00005ca0| 20 6f 66 20 62 61 63 6b | 67 72 6f 75 6e 64 20 62 | of back|ground b|
|00005cb0| 75 74 74 6f 6e 20 22 50 | 72 65 76 22 29 20 69 6e |utton "P|rev") in|
|00005cc0| 74 6f 20 66 72 73 74 0d | 69 66 20 66 72 73 74 20 |to frst.|if frst |
|00005cd0| 61 6e 64 20 6c 73 74 20 | 74 68 65 6e 0d 61 6e 73 |and lst |then.ans|
|00005ce0| 77 65 72 20 22 59 6f 75 | 20 63 61 6e 27 74 20 64 |wer "You| can't d|
|00005cf0| 65 6c 65 74 65 20 74 68 | 65 20 6c 61 73 74 20 63 |elete th|e last c|
|00005d00| 61 6c 63 75 6c 61 74 69 | 6f 6e 20 63 61 72 64 22 |alculati|on card"|
|00005d10| 0d 65 78 69 74 20 64 6f | 4d 65 6e 75 0d 65 6e 64 |.exit do|Menu.end|
|00005d20| 20 69 66 0d 61 6e 73 77 | 65 72 20 22 44 6f 20 79 | if.answ|er "Do y|
|00005d30| 6f 75 20 72 65 61 6c 6c | 79 20 77 61 6e 74 20 74 |ou reall|y want t|
|00005d40| 6f 20 64 65 6c 65 74 65 | 20 74 68 69 73 20 63 61 |o delete| this ca|
|00005d50| 72 64 3f 22 20 77 69 74 | 68 20 22 44 65 6c 65 74 |rd?" wit|h "Delet|
|00005d60| 65 22 20 6f 72 20 22 43 | 61 6e 63 65 6c 22 0d 69 |e" or "C|ancel".i|
|00005d70| 66 20 69 74 20 69 73 20 | 22 44 65 6c 65 74 65 22 |f it is |"Delete"|
|00005d80| 20 74 68 65 6e 0d 69 66 | 20 6c 73 74 20 74 68 65 | then.if| lst the|
|00005d90| 6e 20 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 73 65 |n lock s|creen.se|
|00005da0| 6e 64 20 22 64 6f 4d 65 | 6e 75 22 20 26 26 20 63 |nd "doMe|nu" && c|
|00005db0| 6f 6d 6d 20 74 6f 20 68 | 79 70 65 72 63 61 72 64 |omm to h|ypercard|
|00005dc0| 0d 69 66 20 6c 73 74 20 | 74 68 65 6e 0d 67 6f 20 |.if lst |then.go |
|00005dd0| 74 6f 20 74 68 65 20 6c | 61 73 74 20 63 61 72 64 |to the l|ast card|
|00005de0| 20 6f 66 20 62 61 63 6b | 67 72 6f 75 6e 64 20 22 | of back|ground "|
|00005df0| 43 61 6c 63 75 6c 61 74 | 69 6f 6e 22 0d 75 6e 6c |Calculat|ion".unl|
|00005e00| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 65 6e 64 20 69 |ock scre|en.end i|
|00005e10| 66 0d 2d 2d 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |f.--.end| if.else|
|00005e20| 0d 70 61 73 73 20 64 6f | 4d 65 6e 75 0d 65 6e 64 |.pass do|Menu.end|
|00005e30| 20 69 66 0d 65 6e 64 20 | 64 6f 4d 65 6e 75 0d 0d | if.end |doMenu..|
|00005e40| 6f 6e 20 72 65 64 72 61 | 77 42 61 63 6b 67 72 6f |on redra|wBackgro|
|00005e50| 75 6e 64 0d 2d 2d 20 63 | 61 6c 6c 65 64 20 65 78 |und.-- c|alled ex|
|00005e60| 70 6c 69 63 69 74 6c 79 | 20 69 66 20 74 68 65 20 |plicitly| if the |
|00005e70| 75 73 65 72 20 77 69 73 | 68 65 73 20 74 6f 20 63 |user wis|hes to c|
|00005e80| 68 61 6e 67 65 20 74 68 | 65 20 73 63 72 65 65 6e |hange th|e screen|
|00005e90| 20 73 69 7a 65 2c 0d 2d | 2d 20 70 6f 73 69 74 69 | size,.-|- positi|
|00005ea0| 6f 6e 20 6f 66 20 6f 62 | 6a 65 63 74 73 2c 20 61 |on of ob|jects, a|
|00005eb0| 6e 64 20 73 6f 20 6f 6e | 2e 0d 0d 73 65 74 20 63 |nd so on|...set c|
|00005ec0| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 6c |ursor to| watch.l|
|00005ed0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 0d 70 75 74 20 |ock scre|en..put |
|00005ee0| 74 68 65 20 75 73 65 72 | 4c 65 76 65 6c 20 69 6e |the user|Level in|
|00005ef0| 74 6f 20 70 72 65 76 4c | 65 76 65 6c 0d 69 66 20 |to prevL|evel.if |
|00005f00| 70 72 65 76 4c 65 76 65 | 6c 20 3c 20 33 20 74 68 |prevLeve|l < 3 th|
|00005f10| 65 6e 20 73 65 74 20 74 | 68 65 20 75 73 65 72 4c |en set t|he userL|
|00005f20| 65 76 65 6c 20 74 6f 20 | 33 0d 0d 64 6f 4d 65 6e |evel to |3..doMen|
|00005f30| 75 20 42 61 63 6b 67 72 | 6f 75 6e 64 20 2d 2d 20 |u Backgr|ound -- |
|00005f40| 64 6f 20 74 68 69 73 20 | 69 6e 20 74 68 65 20 62 |do this |in the b|
|00005f50| 61 63 6b 67 72 6f 75 6e | 64 2c 20 72 65 61 6c 6c |ackgroun|d, reall|
|00005f60| 79 20 73 68 6f 75 6c 64 | 20 63 68 65 63 6b 20 61 |y should| check a|
|00005f70| 72 65 20 6e 6f 74 20 61 | 6c 72 65 61 64 79 0d 0d |re not a|lready..|
|00005f80| 46 69 6c 6c 52 65 63 74 | 20 74 68 65 20 73 63 72 |FillRect| the scr|
|00005f90| 65 65 6e 52 65 63 74 2c | 20 31 39 0d 0d 53 68 61 |eenRect,| 19..Sha|
|00005fa0| 64 6f 77 42 6f 78 20 74 | 68 65 20 72 65 63 74 20 |dowBox t|he rect |
|00005fb0| 6f 66 20 66 69 65 6c 64 | 20 22 42 6f 72 64 65 72 |of field| "Border|
|00005fc0| 31 22 2c 31 0d 0d 53 68 | 61 64 6f 77 42 6f 78 20 |1",1..Sh|adowBox |
|00005fd0| 74 68 65 20 72 65 63 74 | 20 6f 66 20 66 69 65 6c |the rect| of fiel|
|00005fe0| 64 20 22 42 6f 72 64 65 | 72 32 22 2c 31 0d 0d 64 |d "Borde|r2",1..d|
|00005ff0| 6f 4d 65 6e 75 20 42 61 | 63 6b 67 72 6f 75 6e 64 |oMenu Ba|ckground|
|00006000| 0d 0d 63 68 6f 6f 73 65 | 20 62 72 6f 77 73 65 20 |..choose| browse |
|00006010| 74 6f 6f 6c 0d 69 66 20 | 70 72 65 76 4c 65 76 65 |tool.if |prevLeve|
|00006020| 6c 20 3c 20 33 20 74 68 | 65 6e 20 73 65 74 20 74 |l < 3 th|en set t|
|00006030| 68 65 20 75 73 65 72 4c | 65 76 65 6c 20 74 6f 20 |he userL|evel to |
|00006040| 70 72 65 76 4c 65 76 65 | 6c 0d 65 6e 64 20 72 65 |prevLeve|l.end re|
|00006050| 64 72 61 77 42 61 63 6b | 67 72 6f 75 6e 64 0d 0d |drawBack|ground..|
|00006060| 6f 6e 20 48 43 63 6f 6c | 6f 72 69 7a 65 0d 67 6c |on HCcol|orize.gl|
|00006070| 6f 62 61 6c 20 6e 75 6d | 52 69 6e 67 73 2c 20 6e |obal num|Rings, n|
|00006080| 75 6d 53 70 65 65 64 73 | 0d 67 65 74 20 63 61 72 |umSpeeds|.get car|
|00006090| 64 20 66 69 65 6c 64 20 | 22 42 47 20 43 6f 6c 6f |d field |"BG Colo|
|000060a0| 75 72 22 20 6f 66 20 63 | 61 72 64 20 22 43 6f 6e |ur" of c|ard "Con|
|000060b0| 74 72 6f 6c 22 0d 63 6f | 6c 6f 72 69 7a 65 48 43 |trol".co|lorizeHC|
|000060c0| 20 22 63 6f 6c 6f 72 46 | 69 6c 6c 22 2c 20 74 68 | "colorF|ill", th|
|000060d0| 65 20 73 63 72 65 65 6e | 52 65 63 74 2c 20 69 74 |e screen|Rect, it|
|000060e0| 0d 67 65 74 20 63 61 72 | 64 20 66 69 65 6c 64 20 |.get car|d field |
|000060f0| 22 46 47 20 43 6f 6c 6f | 75 72 22 20 6f 66 20 63 |"FG Colo|ur" of c|
|00006100| 61 72 64 20 22 43 6f 6e | 74 72 6f 6c 22 0d 63 6f |ard "Con|trol".co|
|00006110| 6c 6f 72 69 7a 65 48 43 | 20 22 63 6f 6c 6f 72 46 |lorizeHC| "colorF|
|00006120| 69 6c 6c 22 2c 20 74 68 | 65 20 72 65 63 74 20 6f |ill", th|e rect o|
|00006130| 66 20 66 69 65 6c 64 20 | 22 42 6f 72 64 65 72 31 |f field |"Border1|
|00006140| 22 2c 20 69 74 0d 63 6f | 6c 6f 72 69 7a 65 48 43 |", it.co|lorizeHC|
|00006150| 20 22 63 6f 6c 6f 72 46 | 69 6c 6c 22 2c 20 74 68 | "colorF|ill", th|
|00006160| 65 20 72 65 63 74 20 6f | 66 20 66 69 65 6c 64 20 |e rect o|f field |
|00006170| 22 42 6f 72 64 65 72 32 | 22 2c 20 69 74 0d 67 65 |"Border2|", it.ge|
|00006180| 74 20 63 61 72 64 20 66 | 69 65 6c 64 20 22 54 78 |t card f|ield "Tx|
|00006190| 74 20 43 6f 6c 6f 75 72 | 22 20 6f 66 20 63 61 72 |t Colour|" of car|
|000061a0| 64 20 22 43 6f 6e 74 72 | 6f 6c 22 0d 63 6f 6c 6f |d "Contr|ol".colo|
|000061b0| 72 69 7a 65 48 43 20 22 | 63 6f 6c 6f 72 46 69 6c |rizeHC "|colorFil|
|000061c0| 6c 22 2c 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |l", the |rect of |
|000061d0| 66 69 65 6c 64 20 22 42 | 6b 67 20 41 72 65 61 22 |field "B|kg Area"|
|000061e0| 2c 20 69 74 0d 65 6e 64 | 20 48 43 63 6f 6c 6f 72 |, it.end| HCcolor|
|000061f0| 69 7a 65 0d 0d 0d 0d 0d | 0d 0d 0d 0d 0d 0d 0d 0d |ize.....|........|
|00006200| 0d 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006220| 00 00 05 20 42 4d 41 50 | 00 00 0d 77 00 00 00 00 |... BMAP|...w....|
|00006230| 00 00 00 00 00 01 00 00 | 00 00 00 00 01 56 02 00 |........|.....V..|
|00006240| 00 00 00 00 01 56 02 00 | 00 00 00 00 01 56 02 00 |.....V..|.....V..|
|00006250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 04 c8 |........|........|
|00006260| 83 88 84 83 22 84 83 88 | 84 83 22 a7 84 8c 20 33 |...."...|.."... 3|
|00006270| 80 e3 1d 73 89 20 55 80 | e3 1d d5 20 88 80 e3 1d |...s. U.|... ....|
|00006280| e8 20 55 80 e3 1d f5 20 | 22 80 e3 1d e2 86 20 88 |. U.... |"..... .|
|00006290| 80 e3 1d e8 86 20 22 80 | e3 1d e2 86 20 88 80 e3 |..... ".|.... ...|
|000062a0| 1d e8 86 20 22 80 e3 1d | e2 86 20 88 80 e3 1d e8 |... "...|.. .....|
|000062b0| 86 20 22 80 e3 1d e2 86 | 20 88 80 e3 1d e8 86 20 |. ".....| ...... |
|000062c0| 22 80 e3 1d e2 86 20 88 | 80 e3 1d e8 86 20 22 80 |"..... .|..... ".|
|000062d0| e3 1d e2 86 20 88 80 e3 | 1d e8 86 20 22 80 e3 1d |.... ...|... "...|
|000062e0| e2 86 20 88 80 e3 1d e8 | 86 20 22 80 e3 1d e2 86 |.. .....|. ".....|
|000062f0| 20 88 80 e3 1d e8 86 20 | 22 80 e3 1d e2 86 20 88 | ...... |"..... .|
|00006300| 80 e3 1d e8 86 20 22 80 | e3 1d e2 86 20 88 80 e3 |..... ".|.... ...|
|00006310| 1d e8 86 20 22 80 e3 1d | e2 86 20 88 80 e3 1d e8 |... "...|.. .....|
|00006320| 86 20 22 80 e3 1d e2 86 | 20 88 80 e3 1d e8 86 20 |. ".....| ...... |
|00006330| 22 80 e3 1d e2 86 20 88 | 80 e3 1d e8 86 20 22 80 |"..... .|..... ".|
|00006340| e3 1d e2 86 20 88 80 e3 | 1d e8 86 20 22 80 e3 1d |.... ...|... "...|
|00006350| e2 86 20 88 80 e3 1d e8 | 86 20 22 80 e3 1d e2 86 |.. .....|. ".....|
|00006360| 20 88 80 e3 1d e8 86 20 | 22 80 e3 1d e2 86 20 88 | ...... |"..... .|
|00006370| 80 e3 1d e8 86 20 22 80 | e3 1d e2 86 20 88 80 e3 |..... ".|.... ...|
|00006380| 1d e8 86 20 22 80 e3 1d | e2 86 20 88 80 e3 1d e8 |... "...|.. .....|
|00006390| 86 20 22 80 e3 1d e2 86 | 20 88 80 e3 1d e8 86 20 |. ".....| ...... |
|000063a0| 22 80 e3 1d e2 86 20 88 | 80 e3 1d e8 86 20 22 80 |"..... .|..... ".|
|000063b0| e3 1d e2 86 20 88 80 e3 | 1d e8 86 20 22 80 e3 1d |.... ...|... "...|
|000063c0| e2 86 20 88 80 e3 1d e8 | 86 20 22 80 e3 1d e2 86 |.. .....|. ".....|
|000063d0| 20 88 80 e3 1d e8 86 20 | 22 80 e3 1d e2 86 20 88 | ...... |"..... .|
|000063e0| 80 e3 1d e8 86 20 22 80 | e3 1d e2 86 20 88 80 e3 |..... ".|.... ...|
|000063f0| 1d e8 86 20 22 80 e3 1d | e2 86 20 88 80 e3 1d e8 |... "...|.. .....|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.